--
-- PostgreSQL database dump
--

-- Dumped from database version 12.3 (Ubuntu 12.3-1.pgdg18.04+1)
-- Dumped by pg_dump version 12.3 (Ubuntu 12.3-1.pgdg18.04+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: account_change_save(character varying, integer, integer, integer, numeric); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.account_change_save(p_bill_no character varying, p_user_id integer, p_type integer, p_io integer, p_amount numeric) RETURNS void
    LANGUAGE plpgsql
    AS $$
    DECLARE
        v_date DATE;
        v_created TIMESTAMPTZ;
        v_r user_accounts%ROWTYPE;
        v_frozen DECIMAL(16, 4);
        v_remain DECIMAL(16, 4);
        v_total DECIMAL(16, 4);
    BEGIN
        v_date = CURRENT_DATE;
        v_created = NOW();

        SELECT * INTO v_r FROM user_accounts WHERE user_id = p_user_id; -- 先列出当前系统余额
        IF v_r IS NULL THEN
            RETURN;
        END IF;

        IF p_io = 1 THEN                        -- 入账
            v_frozen = v_r.frozen;              -- 冻结不变
            v_remain = v_r.remain + p_amount;   -- 余额增加
            v_total = v_r.total + p_amount;     -- 总额增加
        ELSIF p_io = 2 THEN                    -- 出账
            v_frozen = v_r.frozen - p_amount;   -- 冻结减少
            v_remain = v_r.v_remain;            -- 余额不变
            v_total = v_r.total - p_amount;     -- 总额减少
        ELSIF p_io = 31 THEN                   -- 平账: 冻结
            v_frozen = v_r.frozen + p_amount;   -- 冻结增加
            v_remain = v_r.remain - p_amount;   -- 可用减少
            v_total = v_r.total;                -- 总额不变
        ELSIF p_io = 32 THEN                   -- 平账: 回退
            v_frozen = v_r.frozen - p_amount;   -- 冻结减少
            v_remain = v_r.remain + p_amount;   -- 余额增加
            v_total = v_r.total;                -- 总额不变
        END IF;

        -- 写入账变记录
        INSERT INTO account_changes
            (bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, created)
        VALUES
            (p_bill_no, v_date, p_user_id, v_r.user_name, p_amount, p_type, p_io, v_r.remain, v_r.frozen, v_r.total, v_remain, v_frozen, v_total, v_created);
    END;
$$;


ALTER FUNCTION public.account_change_save(p_bill_no character varying, p_user_id integer, p_type integer, p_io integer, p_amount numeric) OWNER TO postgres;

--
-- Name: admin_login(character varying, character varying, character varying); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.admin_login(p_name character varying, p_password character varying, v_ip character varying) RETURNS text
    LANGUAGE plpgsql
    AS $$
    DECLARE
        r admins%ROWTYPE;
        v_real_password VARCHAR;
        v_secret VARCHAR;
        v_new_password VARCHAR;
    BEGIN
        SELECT * INTO r FROM admins WHERE name = p_name LIMIT 1;
        IF r IS NULL THEN  -- 如果没有找到到记录
            RETURN '后台用户名称或者登录密码有误';
        ELSE
            v_real_password = encrypt_password_admin(p_password, r.secret); -- 真正的密码
            IF v_real_password <> r.password THEN -- 如果密码不正确
                RETURN '后台用户名称或者用户密码错误';
            ELSEIF r.status = 0 THEN
                RETURN '用户账号已被停用';
            END IF;
        END IF;

        v_secret = secret_string();
        v_new_password = encrypt_password_admin(p_password, v_secret);
        UPDATE users
        SET
            secret = v_secret,              -- 新的密盐
            password = v_new_password,      -- 密码
            login_count = login_count + 1,  -- 登录次数
            last_login = NOW(),             -- 上次登录时间
            last_ip = v_ip::inet,           -- 上次登录ip
            updated = NOW()                 -- 更新时间
        WHERE id = r.id;
        RETURN 'ok';
    END;
$$;


ALTER FUNCTION public.admin_login(p_name character varying, p_password character varying, v_ip character varying) OWNER TO postgres;

--
-- Name: admin_login_init(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.admin_login_init() RETURNS text
    LANGUAGE plpgsql
    AS $$
    DECLARE
        v_secret VARCHAR;
        v_password VARCHAR;
    BEGIN
        v_secret = secret_string();
        v_password = encrypt_password_admin('qwe123', v_secret);
        UPDATE admins
        SET
            secret = v_secret,
            password = v_password
        WHERE name = 'admin';
        RAISE NOTICE '原始密码: qwe123, Secret: %, Password: %', v_secret, v_password;
        RETURN v_secret;
    END;
$$;


ALTER FUNCTION public.admin_login_init() OWNER TO postgres;

--
-- Name: apply_withdraw(character varying, integer, numeric, integer); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.apply_withdraw(p_bill_no character varying, p_user_id integer, p_amount numeric, p_card_id integer) RETURNS text
    LANGUAGE plpgsql
    AS $$
    DECLARE
        v_r user_accounts%ROWTYPE;
        v_bank banks%ROWTYPE;
        v_card user_cards%ROWTYPE;
    BEGIN
        -- 先检测用户在不在
        SELECT * INTO v_r WHERE user_id = p_user_id;
        IF NOT FOUND THEN
            RETURN '用户信息查找失败';
        END IF;
        -- 检测用户账户信息
        IF v_r.remain < p_amount THEN
            RETURN '用户余额不足';
        END IF;
        -- 获取用户卡信息
        SELECT * INTO v_card FROM user_cards WHERE user_id = p_user_id AND id = p_card_id;
        IF NOT FOUND THEN
            RETURN '用户的绑定银行卡无效';
        END IF;
        -- 获取银行相关信息
        SELECT * INTO v_bank FROM banks WHERE id = v_card.bank_id;
        IF NOT FOUND THEN
            RETURN '用户银行卡的银行信息无效';
        END IF;
        -- 冻结用户相应提款金额
        UPDATE user_accounts
            SET
                frozen = frozen + p_amount,
                remain = remain - p_amout
            WHERE
                uesr_id = p_user_id;
        -- 写提款申请信息
        INSERT INTO withdraws
                (bill_no, date, user_id, user_name, amount, bank_id, bank_name, card_id, card_number, real_name)
            VALUES
                (p_bill_no, CURRENT_DATE, v_r.user_id, v_r.user_name, p_amount, v_bank.id, v_bank.name, p_card_id, v_card.card_number, v_card.real_name);
        RETURN 'ok';
    END;
$$;


ALTER FUNCTION public.apply_withdraw(p_bill_no character varying, p_user_id integer, p_amount numeric, p_card_id integer) OWNER TO postgres;

--
-- Name: encrypt_password(character varying, character varying); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.encrypt_password(p_password character varying, p_secret character varying) RETURNS text
    LANGUAGE plpgsql
    AS $$
    BEGIN
        RETURN MD5(p_password || '!ks#93a3JKSj2P&^%L=?' || p_secret);
    END;
$$;


ALTER FUNCTION public.encrypt_password(p_password character varying, p_secret character varying) OWNER TO postgres;

--
-- Name: encrypt_password_admin(character varying, character varying); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.encrypt_password_admin(p_password character varying, p_secret character varying) RETURNS text
    LANGUAGE plpgsql
    AS $$
    BEGIN
        RETURN MD5(p_password || ';k0#6,aK8%GK2N&^#)3^' || p_secret);
    END;
$$;


ALTER FUNCTION public.encrypt_password_admin(p_password character varying, p_secret character varying) OWNER TO postgres;

--
-- Name: rand_string(integer); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.rand_string(p_length integer) RETURNS text
    LANGUAGE plpgsql
    AS $$
    BEGIN
        RETURN SUBSTR(MD5(random()::text), 0, p_length + 1);
    END;
$$;


ALTER FUNCTION public.rand_string(p_length integer) OWNER TO postgres;

--
-- Name: recharge_update_trigger(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.recharge_update_trigger() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
    DECLARE
        v_is_first INTEGER;
    BEGIN
        IF NEW.status = 0 THEN -- 不能修改为0
            RAISE EXCEPTION '修改充值状态的值不能为 0';
        ELSEIF NEW.status = 1 THEN -- 表示充值成功
            SELECT id FROM recharges WHERE user_id = NEW.user_id LIMIT 1;
            IF NOT FOUND THEN -- 表示是首存
                NEW.is_first = 1;
            END IF;
            EXECUTE account_change_save(NEW.bill_no, NEW.user_id, 1, 1, NEW.amount);
        END IF;
        RETURN NEW;
    END;
$$;


ALTER FUNCTION public.recharge_update_trigger() OWNER TO postgres;

--
-- Name: secret_string(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.secret_string() RETURNS text
    LANGUAGE plpgsql
    AS $$
    BEGIN
        RETURN MD5(rand_string(32));
    END;
$$;


ALTER FUNCTION public.secret_string() OWNER TO postgres;

--
-- Name: user_init_profile(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.user_init_profile() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
    BEGIN
        -- 生成用户账户信息
        INSERT INTO user_accounts(user_id, user_name) VALUES (NEW.id, NEW.name);
        -- 生成用户基本信息
        INSERT INTO user_details(user_id, user_name) VALUES (NEW.id, NEW.name);
        RETURN NULL;
    END;
$$;


ALTER FUNCTION public.user_init_profile() OWNER TO postgres;

--
-- Name: user_login(character varying, character varying, character varying); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.user_login(p_name character varying, p_password character varying, v_ip character varying) RETURNS text
    LANGUAGE plpgsql
    AS $$
    DECLARE
        r users%ROWTYPE;
        v_real_password VARCHAR;
        v_secret VARCHAR;
        v_new_password VARCHAR;
    BEGIN
        SELECT * INTO r FROM users WHERE name = p_name LIMIT 1;
        IF r IS NULL THEN  -- 如果没有找到到记录
            RETURN '用户名称或者登录密码有误';
        ELSE
            v_real_password = encrypt_password(p_password, r.secret); -- 真正的密码
            IF v_real_password <> r.password THEN -- 如果密码不正确
                RETURN '用户名称或者用户密码错误';
            ELSEIF r.status = 0 THEN
                RETURN '用户账号已被停用';
            END iF;
        END IF;

        v_secret = secret_string();
        v_new_password = encrypt_password(p_password, v_secret);
        UPDATE users
            SET
                secret = v_secret,              -- 新的密盐
                password = v_new_password,      -- 密码
                login_count = login_count + 1,  -- 登录次数
                last_login = NOW(),             -- 上次登录时间
                last_ip = v_ip::inet,           -- 上次登录ip
                updated = NOW()                 -- 更新时间
            WHERE id = r.id;
        RETURN 'ok';
    END;
$$;


ALTER FUNCTION public.user_login(p_name character varying, p_password character varying, v_ip character varying) OWNER TO postgres;

--
-- Name: user_login_init(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.user_login_init() RETURNS text
    LANGUAGE plpgsql
    AS $$                                                                                                                                            
    DECLARE                                                                                                                                                                                                
        v_secret VARCHAR;                                                                                                                                                                                  
        v_password VARCHAR;                                                                                                                                                                                
    BEGIN                                                                                                                                                                                                  
        v_secret = secret_string();                                                                                                                                                                        
        v_password = encrypt_password('qwe123', v_secret);                                                                                                                                                 
        UPDATE users                                                                                                                                                                                       
            SET                                                                                                                                                                                            
                secret = v_secret,                                                                                                                                                                         
                password = v_password                                                                                                                                                                      
            WHERE name = 'temp_name1';                                                                                                                                                                     
        RAISE NOTICE '原始密码: qwe123, Secret: %, Password: %', v_secret, v_password;                                                                                                                     
        RETURN v_secret || ' | ' || v_password;                                                                                                                                                            
    END;                                                                                                                                                                                                   
$$;


ALTER FUNCTION public.user_login_init() OWNER TO postgres;

--
-- Name: withdraw_update_trigger(); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION public.withdraw_update_trigger() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
    BEGIN
        IF NEW.status < OLD.status THEN -- 不能将状态进行回退
            RAISE EXCEPTION '修改充值状态的值不能为 0';
        ELSEIF NEW.status = 2 THEN      -- 表示出款成功
            EXECUTE account_change_save(NEW.bill_no, NEW.user_id, 2, 2, NEW.amount);
        ELSEIF NEW.status = 4 THEN      -- 拒绝出款
            EXECUTE account_change_save(NEW.bill_no, NEW.user_id, 21, 32, NEW.amount);
        END IF;
        RETURN NULL;
    END;
$$;


ALTER FUNCTION public.withdraw_update_trigger() OWNER TO postgres;

SET default_tablespace = '';

--
-- Name: account_changes; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes (
    id integer NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
)
PARTITION BY RANGE (date);


ALTER TABLE public.account_changes OWNER TO postgres;

--
-- Name: account_changes_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.account_changes_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.account_changes_id_seq OWNER TO postgres;

--
-- Name: account_changes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.account_changes_id_seq OWNED BY public.account_changes.id;


SET default_table_access_method = heap;

--
-- Name: account_changes_202005_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_01 FOR VALUES FROM ('2020-05-01') TO ('2020-05-06');


ALTER TABLE public.account_changes_202005_01 OWNER TO postgres;

--
-- Name: account_changes_202005_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_02 FOR VALUES FROM ('2020-05-06') TO ('2020-05-11');


ALTER TABLE public.account_changes_202005_02 OWNER TO postgres;

--
-- Name: account_changes_202005_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_03 FOR VALUES FROM ('2020-05-11') TO ('2020-05-16');


ALTER TABLE public.account_changes_202005_03 OWNER TO postgres;

--
-- Name: account_changes_202005_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_04 FOR VALUES FROM ('2020-05-16') TO ('2020-05-21');


ALTER TABLE public.account_changes_202005_04 OWNER TO postgres;

--
-- Name: account_changes_202005_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_05 FOR VALUES FROM ('2020-05-21') TO ('2020-05-26');


ALTER TABLE public.account_changes_202005_05 OWNER TO postgres;

--
-- Name: account_changes_202005_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202005_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202005_06 FOR VALUES FROM ('2020-05-26') TO ('2020-06-01');


ALTER TABLE public.account_changes_202005_06 OWNER TO postgres;

--
-- Name: account_changes_202006_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_01 FOR VALUES FROM ('2020-06-01') TO ('2020-06-06');


ALTER TABLE public.account_changes_202006_01 OWNER TO postgres;

--
-- Name: account_changes_202006_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_02 FOR VALUES FROM ('2020-06-06') TO ('2020-06-11');


ALTER TABLE public.account_changes_202006_02 OWNER TO postgres;

--
-- Name: account_changes_202006_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_03 FOR VALUES FROM ('2020-06-11') TO ('2020-06-16');


ALTER TABLE public.account_changes_202006_03 OWNER TO postgres;

--
-- Name: account_changes_202006_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_04 FOR VALUES FROM ('2020-06-16') TO ('2020-06-21');


ALTER TABLE public.account_changes_202006_04 OWNER TO postgres;

--
-- Name: account_changes_202006_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_05 FOR VALUES FROM ('2020-06-21') TO ('2020-06-26');


ALTER TABLE public.account_changes_202006_05 OWNER TO postgres;

--
-- Name: account_changes_202006_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202006_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202006_06 FOR VALUES FROM ('2020-06-26') TO ('2020-07-01');


ALTER TABLE public.account_changes_202006_06 OWNER TO postgres;

--
-- Name: account_changes_202007_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_01 FOR VALUES FROM ('2020-07-01') TO ('2020-07-06');


ALTER TABLE public.account_changes_202007_01 OWNER TO postgres;

--
-- Name: account_changes_202007_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_02 FOR VALUES FROM ('2020-07-06') TO ('2020-07-11');


ALTER TABLE public.account_changes_202007_02 OWNER TO postgres;

--
-- Name: account_changes_202007_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_03 FOR VALUES FROM ('2020-07-11') TO ('2020-07-16');


ALTER TABLE public.account_changes_202007_03 OWNER TO postgres;

--
-- Name: account_changes_202007_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_04 FOR VALUES FROM ('2020-07-16') TO ('2020-07-21');


ALTER TABLE public.account_changes_202007_04 OWNER TO postgres;

--
-- Name: account_changes_202007_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_05 FOR VALUES FROM ('2020-07-21') TO ('2020-07-26');


ALTER TABLE public.account_changes_202007_05 OWNER TO postgres;

--
-- Name: account_changes_202007_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202007_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202007_06 FOR VALUES FROM ('2020-07-26') TO ('2020-08-01');


ALTER TABLE public.account_changes_202007_06 OWNER TO postgres;

--
-- Name: account_changes_202008_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_01 FOR VALUES FROM ('2020-08-01') TO ('2020-08-06');


ALTER TABLE public.account_changes_202008_01 OWNER TO postgres;

--
-- Name: account_changes_202008_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_02 FOR VALUES FROM ('2020-08-06') TO ('2020-08-11');


ALTER TABLE public.account_changes_202008_02 OWNER TO postgres;

--
-- Name: account_changes_202008_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_03 FOR VALUES FROM ('2020-08-11') TO ('2020-08-16');


ALTER TABLE public.account_changes_202008_03 OWNER TO postgres;

--
-- Name: account_changes_202008_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_04 FOR VALUES FROM ('2020-08-16') TO ('2020-08-21');


ALTER TABLE public.account_changes_202008_04 OWNER TO postgres;

--
-- Name: account_changes_202008_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_05 FOR VALUES FROM ('2020-08-21') TO ('2020-08-26');


ALTER TABLE public.account_changes_202008_05 OWNER TO postgres;

--
-- Name: account_changes_202008_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202008_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202008_06 FOR VALUES FROM ('2020-08-26') TO ('2020-09-01');


ALTER TABLE public.account_changes_202008_06 OWNER TO postgres;

--
-- Name: account_changes_202009_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_01 FOR VALUES FROM ('2020-09-01') TO ('2020-09-06');


ALTER TABLE public.account_changes_202009_01 OWNER TO postgres;

--
-- Name: account_changes_202009_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_02 FOR VALUES FROM ('2020-09-06') TO ('2020-09-11');


ALTER TABLE public.account_changes_202009_02 OWNER TO postgres;

--
-- Name: account_changes_202009_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_03 FOR VALUES FROM ('2020-09-11') TO ('2020-09-16');


ALTER TABLE public.account_changes_202009_03 OWNER TO postgres;

--
-- Name: account_changes_202009_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_04 FOR VALUES FROM ('2020-09-16') TO ('2020-09-21');


ALTER TABLE public.account_changes_202009_04 OWNER TO postgres;

--
-- Name: account_changes_202009_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_05 FOR VALUES FROM ('2020-09-21') TO ('2020-09-26');


ALTER TABLE public.account_changes_202009_05 OWNER TO postgres;

--
-- Name: account_changes_202009_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202009_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202009_06 FOR VALUES FROM ('2020-09-26') TO ('2020-10-01');


ALTER TABLE public.account_changes_202009_06 OWNER TO postgres;

--
-- Name: account_changes_202010_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_01 FOR VALUES FROM ('2020-10-01') TO ('2020-10-06');


ALTER TABLE public.account_changes_202010_01 OWNER TO postgres;

--
-- Name: account_changes_202010_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_02 FOR VALUES FROM ('2020-10-06') TO ('2020-10-11');


ALTER TABLE public.account_changes_202010_02 OWNER TO postgres;

--
-- Name: account_changes_202010_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_03 FOR VALUES FROM ('2020-10-11') TO ('2020-10-16');


ALTER TABLE public.account_changes_202010_03 OWNER TO postgres;

--
-- Name: account_changes_202010_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_04 FOR VALUES FROM ('2020-10-16') TO ('2020-10-21');


ALTER TABLE public.account_changes_202010_04 OWNER TO postgres;

--
-- Name: account_changes_202010_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_05 FOR VALUES FROM ('2020-10-21') TO ('2020-10-26');


ALTER TABLE public.account_changes_202010_05 OWNER TO postgres;

--
-- Name: account_changes_202010_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202010_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202010_06 FOR VALUES FROM ('2020-10-26') TO ('2020-11-01');


ALTER TABLE public.account_changes_202010_06 OWNER TO postgres;

--
-- Name: account_changes_202011_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_01 FOR VALUES FROM ('2020-11-01') TO ('2020-11-06');


ALTER TABLE public.account_changes_202011_01 OWNER TO postgres;

--
-- Name: account_changes_202011_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_02 FOR VALUES FROM ('2020-11-06') TO ('2020-11-11');


ALTER TABLE public.account_changes_202011_02 OWNER TO postgres;

--
-- Name: account_changes_202011_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_03 FOR VALUES FROM ('2020-11-11') TO ('2020-11-16');


ALTER TABLE public.account_changes_202011_03 OWNER TO postgres;

--
-- Name: account_changes_202011_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_04 FOR VALUES FROM ('2020-11-16') TO ('2020-11-21');


ALTER TABLE public.account_changes_202011_04 OWNER TO postgres;

--
-- Name: account_changes_202011_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_05 FOR VALUES FROM ('2020-11-21') TO ('2020-11-26');


ALTER TABLE public.account_changes_202011_05 OWNER TO postgres;

--
-- Name: account_changes_202011_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202011_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202011_06 FOR VALUES FROM ('2020-11-26') TO ('2020-12-01');


ALTER TABLE public.account_changes_202011_06 OWNER TO postgres;

--
-- Name: account_changes_202012_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_01 FOR VALUES FROM ('2020-12-01') TO ('2020-12-06');


ALTER TABLE public.account_changes_202012_01 OWNER TO postgres;

--
-- Name: account_changes_202012_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_02 FOR VALUES FROM ('2020-12-06') TO ('2020-12-11');


ALTER TABLE public.account_changes_202012_02 OWNER TO postgres;

--
-- Name: account_changes_202012_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_03 FOR VALUES FROM ('2020-12-11') TO ('2020-12-16');


ALTER TABLE public.account_changes_202012_03 OWNER TO postgres;

--
-- Name: account_changes_202012_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_04 FOR VALUES FROM ('2020-12-16') TO ('2020-12-21');


ALTER TABLE public.account_changes_202012_04 OWNER TO postgres;

--
-- Name: account_changes_202012_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_05 FOR VALUES FROM ('2020-12-21') TO ('2020-12-26');


ALTER TABLE public.account_changes_202012_05 OWNER TO postgres;

--
-- Name: account_changes_202012_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202012_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202012_06 FOR VALUES FROM ('2020-12-26') TO ('2021-01-01');


ALTER TABLE public.account_changes_202012_06 OWNER TO postgres;

--
-- Name: account_changes_202101_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_01 FOR VALUES FROM ('2021-01-01') TO ('2021-01-06');


ALTER TABLE public.account_changes_202101_01 OWNER TO postgres;

--
-- Name: account_changes_202101_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_02 FOR VALUES FROM ('2021-01-06') TO ('2021-01-11');


ALTER TABLE public.account_changes_202101_02 OWNER TO postgres;

--
-- Name: account_changes_202101_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_03 FOR VALUES FROM ('2021-01-11') TO ('2021-01-16');


ALTER TABLE public.account_changes_202101_03 OWNER TO postgres;

--
-- Name: account_changes_202101_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_04 FOR VALUES FROM ('2021-01-16') TO ('2021-01-21');


ALTER TABLE public.account_changes_202101_04 OWNER TO postgres;

--
-- Name: account_changes_202101_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_05 FOR VALUES FROM ('2021-01-21') TO ('2021-01-26');


ALTER TABLE public.account_changes_202101_05 OWNER TO postgres;

--
-- Name: account_changes_202101_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202101_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202101_06 FOR VALUES FROM ('2021-01-26') TO ('2021-02-01');


ALTER TABLE public.account_changes_202101_06 OWNER TO postgres;

--
-- Name: account_changes_202102_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_01 FOR VALUES FROM ('2021-02-01') TO ('2021-02-06');


ALTER TABLE public.account_changes_202102_01 OWNER TO postgres;

--
-- Name: account_changes_202102_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_02 FOR VALUES FROM ('2021-02-06') TO ('2021-02-11');


ALTER TABLE public.account_changes_202102_02 OWNER TO postgres;

--
-- Name: account_changes_202102_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_03 FOR VALUES FROM ('2021-02-11') TO ('2021-02-16');


ALTER TABLE public.account_changes_202102_03 OWNER TO postgres;

--
-- Name: account_changes_202102_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_04 FOR VALUES FROM ('2021-02-16') TO ('2021-02-21');


ALTER TABLE public.account_changes_202102_04 OWNER TO postgres;

--
-- Name: account_changes_202102_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_05 FOR VALUES FROM ('2021-02-21') TO ('2021-02-26');


ALTER TABLE public.account_changes_202102_05 OWNER TO postgres;

--
-- Name: account_changes_202102_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202102_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202102_06 FOR VALUES FROM ('2021-02-26') TO ('2021-03-01');


ALTER TABLE public.account_changes_202102_06 OWNER TO postgres;

--
-- Name: account_changes_202103_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_01 FOR VALUES FROM ('2021-03-01') TO ('2021-03-06');


ALTER TABLE public.account_changes_202103_01 OWNER TO postgres;

--
-- Name: account_changes_202103_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_02 FOR VALUES FROM ('2021-03-06') TO ('2021-03-11');


ALTER TABLE public.account_changes_202103_02 OWNER TO postgres;

--
-- Name: account_changes_202103_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_03 FOR VALUES FROM ('2021-03-11') TO ('2021-03-16');


ALTER TABLE public.account_changes_202103_03 OWNER TO postgres;

--
-- Name: account_changes_202103_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_04 FOR VALUES FROM ('2021-03-16') TO ('2021-03-21');


ALTER TABLE public.account_changes_202103_04 OWNER TO postgres;

--
-- Name: account_changes_202103_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_05 FOR VALUES FROM ('2021-03-21') TO ('2021-03-26');


ALTER TABLE public.account_changes_202103_05 OWNER TO postgres;

--
-- Name: account_changes_202103_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202103_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202103_06 FOR VALUES FROM ('2021-03-26') TO ('2021-04-01');


ALTER TABLE public.account_changes_202103_06 OWNER TO postgres;

--
-- Name: account_changes_202104_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_01 FOR VALUES FROM ('2021-04-01') TO ('2021-04-06');


ALTER TABLE public.account_changes_202104_01 OWNER TO postgres;

--
-- Name: account_changes_202104_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_02 FOR VALUES FROM ('2021-04-06') TO ('2021-04-11');


ALTER TABLE public.account_changes_202104_02 OWNER TO postgres;

--
-- Name: account_changes_202104_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_03 FOR VALUES FROM ('2021-04-11') TO ('2021-04-16');


ALTER TABLE public.account_changes_202104_03 OWNER TO postgres;

--
-- Name: account_changes_202104_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_04 FOR VALUES FROM ('2021-04-16') TO ('2021-04-21');


ALTER TABLE public.account_changes_202104_04 OWNER TO postgres;

--
-- Name: account_changes_202104_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_05 FOR VALUES FROM ('2021-04-21') TO ('2021-04-26');


ALTER TABLE public.account_changes_202104_05 OWNER TO postgres;

--
-- Name: account_changes_202104_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202104_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202104_06 FOR VALUES FROM ('2021-04-26') TO ('2021-05-01');


ALTER TABLE public.account_changes_202104_06 OWNER TO postgres;

--
-- Name: account_changes_202105_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_01 FOR VALUES FROM ('2021-05-01') TO ('2021-05-06');


ALTER TABLE public.account_changes_202105_01 OWNER TO postgres;

--
-- Name: account_changes_202105_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_02 FOR VALUES FROM ('2021-05-06') TO ('2021-05-11');


ALTER TABLE public.account_changes_202105_02 OWNER TO postgres;

--
-- Name: account_changes_202105_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_03 FOR VALUES FROM ('2021-05-11') TO ('2021-05-16');


ALTER TABLE public.account_changes_202105_03 OWNER TO postgres;

--
-- Name: account_changes_202105_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_04 FOR VALUES FROM ('2021-05-16') TO ('2021-05-21');


ALTER TABLE public.account_changes_202105_04 OWNER TO postgres;

--
-- Name: account_changes_202105_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_05 FOR VALUES FROM ('2021-05-21') TO ('2021-05-26');


ALTER TABLE public.account_changes_202105_05 OWNER TO postgres;

--
-- Name: account_changes_202105_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202105_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202105_06 FOR VALUES FROM ('2021-05-26') TO ('2021-06-01');


ALTER TABLE public.account_changes_202105_06 OWNER TO postgres;

--
-- Name: account_changes_202106_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_01 FOR VALUES FROM ('2021-06-01') TO ('2021-06-06');


ALTER TABLE public.account_changes_202106_01 OWNER TO postgres;

--
-- Name: account_changes_202106_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_02 FOR VALUES FROM ('2021-06-06') TO ('2021-06-11');


ALTER TABLE public.account_changes_202106_02 OWNER TO postgres;

--
-- Name: account_changes_202106_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_03 FOR VALUES FROM ('2021-06-11') TO ('2021-06-16');


ALTER TABLE public.account_changes_202106_03 OWNER TO postgres;

--
-- Name: account_changes_202106_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_04 FOR VALUES FROM ('2021-06-16') TO ('2021-06-21');


ALTER TABLE public.account_changes_202106_04 OWNER TO postgres;

--
-- Name: account_changes_202106_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_05 FOR VALUES FROM ('2021-06-21') TO ('2021-06-26');


ALTER TABLE public.account_changes_202106_05 OWNER TO postgres;

--
-- Name: account_changes_202106_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202106_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202106_06 FOR VALUES FROM ('2021-06-26') TO ('2021-07-01');


ALTER TABLE public.account_changes_202106_06 OWNER TO postgres;

--
-- Name: account_changes_202107_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_01 FOR VALUES FROM ('2021-07-01') TO ('2021-07-06');


ALTER TABLE public.account_changes_202107_01 OWNER TO postgres;

--
-- Name: account_changes_202107_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_02 FOR VALUES FROM ('2021-07-06') TO ('2021-07-11');


ALTER TABLE public.account_changes_202107_02 OWNER TO postgres;

--
-- Name: account_changes_202107_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_03 FOR VALUES FROM ('2021-07-11') TO ('2021-07-16');


ALTER TABLE public.account_changes_202107_03 OWNER TO postgres;

--
-- Name: account_changes_202107_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_04 FOR VALUES FROM ('2021-07-16') TO ('2021-07-21');


ALTER TABLE public.account_changes_202107_04 OWNER TO postgres;

--
-- Name: account_changes_202107_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_05 FOR VALUES FROM ('2021-07-21') TO ('2021-07-26');


ALTER TABLE public.account_changes_202107_05 OWNER TO postgres;

--
-- Name: account_changes_202107_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202107_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202107_06 FOR VALUES FROM ('2021-07-26') TO ('2021-08-01');


ALTER TABLE public.account_changes_202107_06 OWNER TO postgres;

--
-- Name: account_changes_202108_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_01 FOR VALUES FROM ('2021-08-01') TO ('2021-08-06');


ALTER TABLE public.account_changes_202108_01 OWNER TO postgres;

--
-- Name: account_changes_202108_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_02 FOR VALUES FROM ('2021-08-06') TO ('2021-08-11');


ALTER TABLE public.account_changes_202108_02 OWNER TO postgres;

--
-- Name: account_changes_202108_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_03 FOR VALUES FROM ('2021-08-11') TO ('2021-08-16');


ALTER TABLE public.account_changes_202108_03 OWNER TO postgres;

--
-- Name: account_changes_202108_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_04 FOR VALUES FROM ('2021-08-16') TO ('2021-08-21');


ALTER TABLE public.account_changes_202108_04 OWNER TO postgres;

--
-- Name: account_changes_202108_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_05 FOR VALUES FROM ('2021-08-21') TO ('2021-08-26');


ALTER TABLE public.account_changes_202108_05 OWNER TO postgres;

--
-- Name: account_changes_202108_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202108_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202108_06 FOR VALUES FROM ('2021-08-26') TO ('2021-09-01');


ALTER TABLE public.account_changes_202108_06 OWNER TO postgres;

--
-- Name: account_changes_202109_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_01 FOR VALUES FROM ('2021-09-01') TO ('2021-09-06');


ALTER TABLE public.account_changes_202109_01 OWNER TO postgres;

--
-- Name: account_changes_202109_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_02 FOR VALUES FROM ('2021-09-06') TO ('2021-09-11');


ALTER TABLE public.account_changes_202109_02 OWNER TO postgres;

--
-- Name: account_changes_202109_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_03 FOR VALUES FROM ('2021-09-11') TO ('2021-09-16');


ALTER TABLE public.account_changes_202109_03 OWNER TO postgres;

--
-- Name: account_changes_202109_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_04 FOR VALUES FROM ('2021-09-16') TO ('2021-09-21');


ALTER TABLE public.account_changes_202109_04 OWNER TO postgres;

--
-- Name: account_changes_202109_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_05 FOR VALUES FROM ('2021-09-21') TO ('2021-09-26');


ALTER TABLE public.account_changes_202109_05 OWNER TO postgres;

--
-- Name: account_changes_202109_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202109_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202109_06 FOR VALUES FROM ('2021-09-26') TO ('2021-10-01');


ALTER TABLE public.account_changes_202109_06 OWNER TO postgres;

--
-- Name: account_changes_202110_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_01 FOR VALUES FROM ('2021-10-01') TO ('2021-10-06');


ALTER TABLE public.account_changes_202110_01 OWNER TO postgres;

--
-- Name: account_changes_202110_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_02 FOR VALUES FROM ('2021-10-06') TO ('2021-10-11');


ALTER TABLE public.account_changes_202110_02 OWNER TO postgres;

--
-- Name: account_changes_202110_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_03 FOR VALUES FROM ('2021-10-11') TO ('2021-10-16');


ALTER TABLE public.account_changes_202110_03 OWNER TO postgres;

--
-- Name: account_changes_202110_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_04 FOR VALUES FROM ('2021-10-16') TO ('2021-10-21');


ALTER TABLE public.account_changes_202110_04 OWNER TO postgres;

--
-- Name: account_changes_202110_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_05 FOR VALUES FROM ('2021-10-21') TO ('2021-10-26');


ALTER TABLE public.account_changes_202110_05 OWNER TO postgres;

--
-- Name: account_changes_202110_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202110_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202110_06 FOR VALUES FROM ('2021-10-26') TO ('2021-11-01');


ALTER TABLE public.account_changes_202110_06 OWNER TO postgres;

--
-- Name: account_changes_202111_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_01 FOR VALUES FROM ('2021-11-01') TO ('2021-11-06');


ALTER TABLE public.account_changes_202111_01 OWNER TO postgres;

--
-- Name: account_changes_202111_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_02 FOR VALUES FROM ('2021-11-06') TO ('2021-11-11');


ALTER TABLE public.account_changes_202111_02 OWNER TO postgres;

--
-- Name: account_changes_202111_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_03 FOR VALUES FROM ('2021-11-11') TO ('2021-11-16');


ALTER TABLE public.account_changes_202111_03 OWNER TO postgres;

--
-- Name: account_changes_202111_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_04 FOR VALUES FROM ('2021-11-16') TO ('2021-11-21');


ALTER TABLE public.account_changes_202111_04 OWNER TO postgres;

--
-- Name: account_changes_202111_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_05 FOR VALUES FROM ('2021-11-21') TO ('2021-11-26');


ALTER TABLE public.account_changes_202111_05 OWNER TO postgres;

--
-- Name: account_changes_202111_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202111_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202111_06 FOR VALUES FROM ('2021-11-26') TO ('2021-12-01');


ALTER TABLE public.account_changes_202111_06 OWNER TO postgres;

--
-- Name: account_changes_202112_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_01 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_01 FOR VALUES FROM ('2021-12-01') TO ('2021-12-06');


ALTER TABLE public.account_changes_202112_01 OWNER TO postgres;

--
-- Name: account_changes_202112_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_02 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_02 FOR VALUES FROM ('2021-12-06') TO ('2021-12-11');


ALTER TABLE public.account_changes_202112_02 OWNER TO postgres;

--
-- Name: account_changes_202112_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_03 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_03 FOR VALUES FROM ('2021-12-11') TO ('2021-12-16');


ALTER TABLE public.account_changes_202112_03 OWNER TO postgres;

--
-- Name: account_changes_202112_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_04 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_04 FOR VALUES FROM ('2021-12-16') TO ('2021-12-21');


ALTER TABLE public.account_changes_202112_04 OWNER TO postgres;

--
-- Name: account_changes_202112_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_05 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_05 FOR VALUES FROM ('2021-12-21') TO ('2021-12-26');


ALTER TABLE public.account_changes_202112_05 OWNER TO postgres;

--
-- Name: account_changes_202112_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_changes_202112_06 (
    id integer DEFAULT nextval('public.account_changes_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    in_out smallint DEFAULT 0 NOT NULL,
    before_remain numeric(16,4) DEFAULT 0 NOT NULL,
    before_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    before_total numeric(16,4) DEFAULT 0 NOT NULL,
    after_remain numeric(16,4) DEFAULT 0 NOT NULL,
    after_frozen numeric(16,4) DEFAULT 0 NOT NULL,
    after_total numeric(16,4) DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.account_changes ATTACH PARTITION public.account_changes_202112_06 FOR VALUES FROM ('2021-12-26') TO ('2022-01-01');


ALTER TABLE public.account_changes_202112_06 OWNER TO postgres;

--
-- Name: admin_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs (
    id integer NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
)
PARTITION BY RANGE (date);


ALTER TABLE public.admin_logs OWNER TO postgres;

--
-- Name: admin_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.admin_logs_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.admin_logs_id_seq OWNER TO postgres;

--
-- Name: admin_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.admin_logs_id_seq OWNED BY public.admin_logs.id;


--
-- Name: admin_logs_202005; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202005 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202005 FOR VALUES FROM ('2020-05-01') TO ('2020-06-01');


ALTER TABLE public.admin_logs_202005 OWNER TO postgres;

--
-- Name: admin_logs_202006; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202006 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202006 FOR VALUES FROM ('2020-06-01') TO ('2020-07-01');


ALTER TABLE public.admin_logs_202006 OWNER TO postgres;

--
-- Name: admin_logs_202007; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202007 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202007 FOR VALUES FROM ('2020-07-01') TO ('2020-08-01');


ALTER TABLE public.admin_logs_202007 OWNER TO postgres;

--
-- Name: admin_logs_202008; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202008 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202008 FOR VALUES FROM ('2020-08-01') TO ('2020-09-01');


ALTER TABLE public.admin_logs_202008 OWNER TO postgres;

--
-- Name: admin_logs_202009; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202009 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202009 FOR VALUES FROM ('2020-09-01') TO ('2020-10-01');


ALTER TABLE public.admin_logs_202009 OWNER TO postgres;

--
-- Name: admin_logs_202010; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202010 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202010 FOR VALUES FROM ('2020-10-01') TO ('2020-11-01');


ALTER TABLE public.admin_logs_202010 OWNER TO postgres;

--
-- Name: admin_logs_202011; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202011 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202011 FOR VALUES FROM ('2020-11-01') TO ('2020-12-01');


ALTER TABLE public.admin_logs_202011 OWNER TO postgres;

--
-- Name: admin_logs_202012; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202012 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202012 FOR VALUES FROM ('2020-12-01') TO ('2021-01-01');


ALTER TABLE public.admin_logs_202012 OWNER TO postgres;

--
-- Name: admin_logs_202101; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202101 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202101 FOR VALUES FROM ('2021-01-01') TO ('2021-02-01');


ALTER TABLE public.admin_logs_202101 OWNER TO postgres;

--
-- Name: admin_logs_202102; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202102 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202102 FOR VALUES FROM ('2021-02-01') TO ('2021-03-01');


ALTER TABLE public.admin_logs_202102 OWNER TO postgres;

--
-- Name: admin_logs_202103; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202103 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202103 FOR VALUES FROM ('2021-03-01') TO ('2021-04-01');


ALTER TABLE public.admin_logs_202103 OWNER TO postgres;

--
-- Name: admin_logs_202104; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202104 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202104 FOR VALUES FROM ('2021-04-01') TO ('2021-05-01');


ALTER TABLE public.admin_logs_202104 OWNER TO postgres;

--
-- Name: admin_logs_202105; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202105 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202105 FOR VALUES FROM ('2021-05-01') TO ('2021-06-01');


ALTER TABLE public.admin_logs_202105 OWNER TO postgres;

--
-- Name: admin_logs_202106; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202106 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202106 FOR VALUES FROM ('2021-06-01') TO ('2021-07-01');


ALTER TABLE public.admin_logs_202106 OWNER TO postgres;

--
-- Name: admin_logs_202107; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202107 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202107 FOR VALUES FROM ('2021-07-01') TO ('2021-08-01');


ALTER TABLE public.admin_logs_202107 OWNER TO postgres;

--
-- Name: admin_logs_202108; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202108 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202108 FOR VALUES FROM ('2021-08-01') TO ('2021-09-01');


ALTER TABLE public.admin_logs_202108 OWNER TO postgres;

--
-- Name: admin_logs_202109; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202109 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202109 FOR VALUES FROM ('2021-09-01') TO ('2021-10-01');


ALTER TABLE public.admin_logs_202109 OWNER TO postgres;

--
-- Name: admin_logs_202110; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202110 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202110 FOR VALUES FROM ('2021-10-01') TO ('2021-11-01');


ALTER TABLE public.admin_logs_202110 OWNER TO postgres;

--
-- Name: admin_logs_202111; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202111 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202111 FOR VALUES FROM ('2021-11-01') TO ('2021-12-01');


ALTER TABLE public.admin_logs_202111 OWNER TO postgres;

--
-- Name: admin_logs_202112; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_logs_202112 (
    id integer DEFAULT nextval('public.admin_logs_id_seq'::regclass) NOT NULL,
    admin_id integer NOT NULL,
    admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    log_type smallint DEFAULT 0 NOT NULL,
    url character varying(200) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.admin_logs ATTACH PARTITION public.admin_logs_202112 FOR VALUES FROM ('2021-12-01') TO ('2022-01-01');


ALTER TABLE public.admin_logs_202112 OWNER TO postgres;

--
-- Name: admin_roles; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admin_roles (
    id integer NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    remark character varying(100) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    menus json,
    sort integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.admin_roles OWNER TO postgres;

--
-- Name: admin_roles_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.admin_roles_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.admin_roles_id_seq OWNER TO postgres;

--
-- Name: admin_roles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.admin_roles_id_seq OWNED BY public.admin_roles.id;


--
-- Name: admins; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.admins (
    id integer NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    role_id integer DEFAULT 0 NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    status smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    sort integer DEFAULT 0 NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.admins OWNER TO postgres;

--
-- Name: admins_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.admins_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.admins_id_seq OWNER TO postgres;

--
-- Name: admins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.admins_id_seq OWNED BY public.admins.id;


--
-- Name: banks; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.banks (
    id integer NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    remark character varying(100) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL,
    code character(12) DEFAULT ''::bpchar NOT NULL
);


ALTER TABLE public.banks OWNER TO postgres;

--
-- Name: banks_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.banks_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.banks_id_seq OWNER TO postgres;

--
-- Name: banks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.banks_id_seq OWNED BY public.banks.id;


--
-- Name: cities; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.cities (
    id integer NOT NULL,
    province_id integer DEFAULT 0 NOT NULL,
    province_code character(16) DEFAULT ''::bpchar NOT NULL,
    code character(16) DEFAULT ''::bpchar NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    remark character varying(50) DEFAULT ''::character varying NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.cities OWNER TO postgres;

--
-- Name: cities_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.cities_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cities_id_seq OWNER TO postgres;

--
-- Name: cities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.cities_id_seq OWNED BY public.cities.id;


--
-- Name: menus; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.menus (
    id integer NOT NULL,
    parent_id integer DEFAULT 0 NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    url character varying(100) DEFAULT ''::character varying NOT NULL,
    icon character varying(50) DEFAULT ''::character varying NOT NULL,
    is_blank smallint DEFAULT 0 NOT NULL,
    is_show smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL,
    level smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.menus OWNER TO postgres;

--
-- Name: menus_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.menus_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.menus_id_seq OWNER TO postgres;

--
-- Name: menus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.menus_id_seq OWNED BY public.menus.id;


--
-- Name: provinces; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.provinces (
    id integer NOT NULL,
    code character(16) DEFAULT ''::bpchar NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    remark character varying(50) DEFAULT ''::character varying NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.provinces OWNER TO postgres;

--
-- Name: provinces_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.provinces_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.provinces_id_seq OWNER TO postgres;

--
-- Name: provinces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.provinces_id_seq OWNED BY public.provinces.id;


--
-- Name: recharges; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges (
    id integer NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
)
PARTITION BY RANGE (date);


ALTER TABLE public.recharges OWNER TO postgres;

--
-- Name: recharges_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.recharges_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.recharges_id_seq OWNER TO postgres;

--
-- Name: recharges_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.recharges_id_seq OWNED BY public.recharges.id;


--
-- Name: recharges_202005; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202005 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202005 FOR VALUES FROM ('2020-05-01') TO ('2020-06-01');


ALTER TABLE public.recharges_202005 OWNER TO postgres;

--
-- Name: recharges_202006; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202006 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202006 FOR VALUES FROM ('2020-06-01') TO ('2020-07-01');


ALTER TABLE public.recharges_202006 OWNER TO postgres;

--
-- Name: recharges_202007; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202007 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202007 FOR VALUES FROM ('2020-07-01') TO ('2020-08-01');


ALTER TABLE public.recharges_202007 OWNER TO postgres;

--
-- Name: recharges_202008; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202008 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202008 FOR VALUES FROM ('2020-08-01') TO ('2020-09-01');


ALTER TABLE public.recharges_202008 OWNER TO postgres;

--
-- Name: recharges_202009; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202009 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202009 FOR VALUES FROM ('2020-09-01') TO ('2020-10-01');


ALTER TABLE public.recharges_202009 OWNER TO postgres;

--
-- Name: recharges_202010; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202010 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202010 FOR VALUES FROM ('2020-10-01') TO ('2020-11-01');


ALTER TABLE public.recharges_202010 OWNER TO postgres;

--
-- Name: recharges_202011; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202011 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202011 FOR VALUES FROM ('2020-11-01') TO ('2020-12-01');


ALTER TABLE public.recharges_202011 OWNER TO postgres;

--
-- Name: recharges_202012; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202012 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202012 FOR VALUES FROM ('2020-12-01') TO ('2021-01-01');


ALTER TABLE public.recharges_202012 OWNER TO postgres;

--
-- Name: recharges_202101; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202101 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202101 FOR VALUES FROM ('2021-01-01') TO ('2021-02-01');


ALTER TABLE public.recharges_202101 OWNER TO postgres;

--
-- Name: recharges_202102; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202102 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202102 FOR VALUES FROM ('2021-02-01') TO ('2021-03-01');


ALTER TABLE public.recharges_202102 OWNER TO postgres;

--
-- Name: recharges_202103; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202103 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202103 FOR VALUES FROM ('2021-03-01') TO ('2021-04-01');


ALTER TABLE public.recharges_202103 OWNER TO postgres;

--
-- Name: recharges_202104; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202104 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202104 FOR VALUES FROM ('2021-04-01') TO ('2021-05-01');


ALTER TABLE public.recharges_202104 OWNER TO postgres;

--
-- Name: recharges_202105; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202105 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202105 FOR VALUES FROM ('2021-05-01') TO ('2021-06-01');


ALTER TABLE public.recharges_202105 OWNER TO postgres;

--
-- Name: recharges_202106; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202106 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202106 FOR VALUES FROM ('2021-06-01') TO ('2021-07-01');


ALTER TABLE public.recharges_202106 OWNER TO postgres;

--
-- Name: recharges_202107; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202107 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202107 FOR VALUES FROM ('2021-07-01') TO ('2021-08-01');


ALTER TABLE public.recharges_202107 OWNER TO postgres;

--
-- Name: recharges_202108; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202108 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202108 FOR VALUES FROM ('2021-08-01') TO ('2021-09-01');


ALTER TABLE public.recharges_202108 OWNER TO postgres;

--
-- Name: recharges_202109; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202109 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202109 FOR VALUES FROM ('2021-09-01') TO ('2021-10-01');


ALTER TABLE public.recharges_202109 OWNER TO postgres;

--
-- Name: recharges_202110; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202110 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202110 FOR VALUES FROM ('2021-10-01') TO ('2021-11-01');


ALTER TABLE public.recharges_202110 OWNER TO postgres;

--
-- Name: recharges_202111; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202111 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202111 FOR VALUES FROM ('2021-11-01') TO ('2021-12-01');


ALTER TABLE public.recharges_202111 OWNER TO postgres;

--
-- Name: recharges_202112; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.recharges_202112 (
    id integer DEFAULT nextval('public.recharges_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    is_first smallint DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer DEFAULT 0 NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    pay_type smallint DEFAULT 0 NOT NULL,
    pay_bank_id integer DEFAULT 0 NOT NULL,
    pay_receipt character varying(50) DEFAULT 0 NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone
);
ALTER TABLE ONLY public.recharges ATTACH PARTITION public.recharges_202112 FOR VALUES FROM ('2021-12-01') TO ('2022-01-01');


ALTER TABLE public.recharges_202112 OWNER TO postgres;

--
-- Name: user_accounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts (
    id integer NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
)
PARTITION BY HASH (user_id);


ALTER TABLE public.user_accounts OWNER TO postgres;

--
-- Name: user_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.user_accounts_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_accounts_id_seq OWNER TO postgres;

--
-- Name: user_accounts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.user_accounts_id_seq OWNED BY public.user_accounts.id;


--
-- Name: user_accounts_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_01 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_01 FOR VALUES WITH (modulus 16, remainder 1);


ALTER TABLE public.user_accounts_01 OWNER TO postgres;

--
-- Name: user_accounts_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_02 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_02 FOR VALUES WITH (modulus 16, remainder 2);


ALTER TABLE public.user_accounts_02 OWNER TO postgres;

--
-- Name: user_accounts_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_03 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_03 FOR VALUES WITH (modulus 16, remainder 3);


ALTER TABLE public.user_accounts_03 OWNER TO postgres;

--
-- Name: user_accounts_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_04 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_04 FOR VALUES WITH (modulus 16, remainder 4);


ALTER TABLE public.user_accounts_04 OWNER TO postgres;

--
-- Name: user_accounts_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_05 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_05 FOR VALUES WITH (modulus 16, remainder 5);


ALTER TABLE public.user_accounts_05 OWNER TO postgres;

--
-- Name: user_accounts_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_06 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_06 FOR VALUES WITH (modulus 16, remainder 6);


ALTER TABLE public.user_accounts_06 OWNER TO postgres;

--
-- Name: user_accounts_07; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_07 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_07 FOR VALUES WITH (modulus 16, remainder 7);


ALTER TABLE public.user_accounts_07 OWNER TO postgres;

--
-- Name: user_accounts_08; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_08 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_08 FOR VALUES WITH (modulus 16, remainder 8);


ALTER TABLE public.user_accounts_08 OWNER TO postgres;

--
-- Name: user_accounts_09; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_09 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_09 FOR VALUES WITH (modulus 16, remainder 9);


ALTER TABLE public.user_accounts_09 OWNER TO postgres;

--
-- Name: user_accounts_10; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_10 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_10 FOR VALUES WITH (modulus 16, remainder 10);


ALTER TABLE public.user_accounts_10 OWNER TO postgres;

--
-- Name: user_accounts_11; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_11 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_11 FOR VALUES WITH (modulus 16, remainder 11);


ALTER TABLE public.user_accounts_11 OWNER TO postgres;

--
-- Name: user_accounts_12; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_12 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_12 FOR VALUES WITH (modulus 16, remainder 12);


ALTER TABLE public.user_accounts_12 OWNER TO postgres;

--
-- Name: user_accounts_13; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_13 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_13 FOR VALUES WITH (modulus 16, remainder 13);


ALTER TABLE public.user_accounts_13 OWNER TO postgres;

--
-- Name: user_accounts_14; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_14 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_14 FOR VALUES WITH (modulus 16, remainder 14);


ALTER TABLE public.user_accounts_14 OWNER TO postgres;

--
-- Name: user_accounts_15; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_15 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_15 FOR VALUES WITH (modulus 16, remainder 15);


ALTER TABLE public.user_accounts_15 OWNER TO postgres;

--
-- Name: user_accounts_16; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_accounts_16 (
    id integer DEFAULT nextval('public.user_accounts_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    frozen numeric(16,4) DEFAULT 0 NOT NULL,
    remain numeric(16,4) DEFAULT 0 NOT NULL,
    total numeric(16,4) DEFAULT 0 NOT NULL,
    total_in numeric(16,4) DEFAULT 0 NOT NULL,
    total_out numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_accounts ATTACH PARTITION public.user_accounts_16 FOR VALUES WITH (modulus 16, remainder 0);


ALTER TABLE public.user_accounts_16 OWNER TO postgres;

--
-- Name: user_cards; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards (
    id integer NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
)
PARTITION BY HASH (user_id);


ALTER TABLE public.user_cards OWNER TO postgres;

--
-- Name: user_cards_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.user_cards_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_cards_id_seq OWNER TO postgres;

--
-- Name: user_cards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.user_cards_id_seq OWNED BY public.user_cards.id;


--
-- Name: user_cards_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_01 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_01 FOR VALUES WITH (modulus 16, remainder 1);


ALTER TABLE public.user_cards_01 OWNER TO postgres;

--
-- Name: user_cards_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_02 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_02 FOR VALUES WITH (modulus 16, remainder 2);


ALTER TABLE public.user_cards_02 OWNER TO postgres;

--
-- Name: user_cards_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_03 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_03 FOR VALUES WITH (modulus 16, remainder 3);


ALTER TABLE public.user_cards_03 OWNER TO postgres;

--
-- Name: user_cards_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_04 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_04 FOR VALUES WITH (modulus 16, remainder 4);


ALTER TABLE public.user_cards_04 OWNER TO postgres;

--
-- Name: user_cards_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_05 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_05 FOR VALUES WITH (modulus 16, remainder 5);


ALTER TABLE public.user_cards_05 OWNER TO postgres;

--
-- Name: user_cards_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_06 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_06 FOR VALUES WITH (modulus 16, remainder 6);


ALTER TABLE public.user_cards_06 OWNER TO postgres;

--
-- Name: user_cards_07; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_07 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_07 FOR VALUES WITH (modulus 16, remainder 7);


ALTER TABLE public.user_cards_07 OWNER TO postgres;

--
-- Name: user_cards_08; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_08 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_08 FOR VALUES WITH (modulus 16, remainder 8);


ALTER TABLE public.user_cards_08 OWNER TO postgres;

--
-- Name: user_cards_09; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_09 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_09 FOR VALUES WITH (modulus 16, remainder 9);


ALTER TABLE public.user_cards_09 OWNER TO postgres;

--
-- Name: user_cards_10; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_10 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_10 FOR VALUES WITH (modulus 16, remainder 10);


ALTER TABLE public.user_cards_10 OWNER TO postgres;

--
-- Name: user_cards_11; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_11 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_11 FOR VALUES WITH (modulus 16, remainder 11);


ALTER TABLE public.user_cards_11 OWNER TO postgres;

--
-- Name: user_cards_12; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_12 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_12 FOR VALUES WITH (modulus 16, remainder 12);


ALTER TABLE public.user_cards_12 OWNER TO postgres;

--
-- Name: user_cards_13; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_13 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_13 FOR VALUES WITH (modulus 16, remainder 13);


ALTER TABLE public.user_cards_13 OWNER TO postgres;

--
-- Name: user_cards_14; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_14 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_14 FOR VALUES WITH (modulus 16, remainder 14);


ALTER TABLE public.user_cards_14 OWNER TO postgres;

--
-- Name: user_cards_15; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_15 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_15 FOR VALUES WITH (modulus 16, remainder 15);


ALTER TABLE public.user_cards_15 OWNER TO postgres;

--
-- Name: user_cards_16; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_cards_16 (
    id integer DEFAULT nextval('public.user_cards_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    province_code character(6) DEFAULT ''::bpchar NOT NULL,
    city_code character(6) DEFAULT ''::bpchar NOT NULL,
    district_code character(6) DEFAULT ''::bpchar NOT NULL,
    bank_id integer NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    sort integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.user_cards ATTACH PARTITION public.user_cards_16 FOR VALUES WITH (modulus 16, remainder 0);


ALTER TABLE public.user_cards_16 OWNER TO postgres;

--
-- Name: user_details; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details (
    id integer NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
)
PARTITION BY HASH (user_id);


ALTER TABLE public.user_details OWNER TO postgres;

--
-- Name: user_details_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.user_details_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_details_id_seq OWNER TO postgres;

--
-- Name: user_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.user_details_id_seq OWNED BY public.user_details.id;


--
-- Name: user_details_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_01 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_01 FOR VALUES WITH (modulus 16, remainder 1);


ALTER TABLE public.user_details_01 OWNER TO postgres;

--
-- Name: user_details_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_02 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_02 FOR VALUES WITH (modulus 16, remainder 2);


ALTER TABLE public.user_details_02 OWNER TO postgres;

--
-- Name: user_details_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_03 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_03 FOR VALUES WITH (modulus 16, remainder 3);


ALTER TABLE public.user_details_03 OWNER TO postgres;

--
-- Name: user_details_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_04 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_04 FOR VALUES WITH (modulus 16, remainder 4);


ALTER TABLE public.user_details_04 OWNER TO postgres;

--
-- Name: user_details_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_05 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_05 FOR VALUES WITH (modulus 16, remainder 5);


ALTER TABLE public.user_details_05 OWNER TO postgres;

--
-- Name: user_details_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_06 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_06 FOR VALUES WITH (modulus 16, remainder 6);


ALTER TABLE public.user_details_06 OWNER TO postgres;

--
-- Name: user_details_07; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_07 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_07 FOR VALUES WITH (modulus 16, remainder 7);


ALTER TABLE public.user_details_07 OWNER TO postgres;

--
-- Name: user_details_08; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_08 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_08 FOR VALUES WITH (modulus 16, remainder 8);


ALTER TABLE public.user_details_08 OWNER TO postgres;

--
-- Name: user_details_09; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_09 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_09 FOR VALUES WITH (modulus 16, remainder 9);


ALTER TABLE public.user_details_09 OWNER TO postgres;

--
-- Name: user_details_10; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_10 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_10 FOR VALUES WITH (modulus 16, remainder 10);


ALTER TABLE public.user_details_10 OWNER TO postgres;

--
-- Name: user_details_11; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_11 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_11 FOR VALUES WITH (modulus 16, remainder 11);


ALTER TABLE public.user_details_11 OWNER TO postgres;

--
-- Name: user_details_12; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_12 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_12 FOR VALUES WITH (modulus 16, remainder 12);


ALTER TABLE public.user_details_12 OWNER TO postgres;

--
-- Name: user_details_13; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_13 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_13 FOR VALUES WITH (modulus 16, remainder 13);


ALTER TABLE public.user_details_13 OWNER TO postgres;

--
-- Name: user_details_14; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_14 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_14 FOR VALUES WITH (modulus 16, remainder 14);


ALTER TABLE public.user_details_14 OWNER TO postgres;

--
-- Name: user_details_15; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_15 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_15 FOR VALUES WITH (modulus 16, remainder 15);


ALTER TABLE public.user_details_15 OWNER TO postgres;

--
-- Name: user_details_16; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_details_16 (
    id integer DEFAULT nextval('public.user_details_id_seq'::regclass) NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    birth date DEFAULT '1971-01-01'::date NOT NULL,
    gender smallint DEFAULT 2 NOT NULL,
    phone character varying(20) DEFAULT ''::character varying NOT NULL,
    photo character varying(200) DEFAULT ''::character varying NOT NULL,
    mail character varying(100) DEFAULT ''::character varying NOT NULL,
    address character varying(100) DEFAULT ''::character varying NOT NULL,
    remark character varying(200) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE ONLY public.user_details ATTACH PARTITION public.user_details_16 FOR VALUES WITH (modulus 16, remainder 0);


ALTER TABLE public.user_details_16 OWNER TO postgres;

--
-- Name: users; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users (
    id integer NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
)
PARTITION BY HASH (id);


ALTER TABLE public.users OWNER TO postgres;

--
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.users_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.users_id_seq OWNER TO postgres;

--
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;


--
-- Name: users_01; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_01 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_01 FOR VALUES WITH (modulus 16, remainder 1);


ALTER TABLE public.users_01 OWNER TO postgres;

--
-- Name: users_02; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_02 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_02 FOR VALUES WITH (modulus 16, remainder 2);


ALTER TABLE public.users_02 OWNER TO postgres;

--
-- Name: users_03; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_03 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_03 FOR VALUES WITH (modulus 16, remainder 3);


ALTER TABLE public.users_03 OWNER TO postgres;

--
-- Name: users_04; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_04 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_04 FOR VALUES WITH (modulus 16, remainder 4);


ALTER TABLE public.users_04 OWNER TO postgres;

--
-- Name: users_05; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_05 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_05 FOR VALUES WITH (modulus 16, remainder 5);


ALTER TABLE public.users_05 OWNER TO postgres;

--
-- Name: users_06; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_06 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_06 FOR VALUES WITH (modulus 16, remainder 6);


ALTER TABLE public.users_06 OWNER TO postgres;

--
-- Name: users_07; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_07 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_07 FOR VALUES WITH (modulus 16, remainder 7);


ALTER TABLE public.users_07 OWNER TO postgres;

--
-- Name: users_08; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_08 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_08 FOR VALUES WITH (modulus 16, remainder 8);


ALTER TABLE public.users_08 OWNER TO postgres;

--
-- Name: users_09; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_09 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_09 FOR VALUES WITH (modulus 16, remainder 9);


ALTER TABLE public.users_09 OWNER TO postgres;

--
-- Name: users_10; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_10 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_10 FOR VALUES WITH (modulus 16, remainder 10);


ALTER TABLE public.users_10 OWNER TO postgres;

--
-- Name: users_11; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_11 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_11 FOR VALUES WITH (modulus 16, remainder 11);


ALTER TABLE public.users_11 OWNER TO postgres;

--
-- Name: users_12; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_12 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_12 FOR VALUES WITH (modulus 16, remainder 12);


ALTER TABLE public.users_12 OWNER TO postgres;

--
-- Name: users_13; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_13 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_13 FOR VALUES WITH (modulus 16, remainder 13);


ALTER TABLE public.users_13 OWNER TO postgres;

--
-- Name: users_14; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_14 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_14 FOR VALUES WITH (modulus 16, remainder 14);


ALTER TABLE public.users_14 OWNER TO postgres;

--
-- Name: users_15; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_15 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_15 FOR VALUES WITH (modulus 16, remainder 15);


ALTER TABLE public.users_15 OWNER TO postgres;

--
-- Name: users_16; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users_16 (
    id integer DEFAULT nextval('public.users_id_seq'::regclass) NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    password character(32) DEFAULT ''::bpchar NOT NULL,
    secret character(32) DEFAULT ''::bpchar NOT NULL,
    status smallint DEFAULT 1 NOT NULL,
    last_login timestamp with time zone DEFAULT now() NOT NULL,
    login_count integer DEFAULT 0 NOT NULL,
    last_ip inet,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.users ATTACH PARTITION public.users_16 FOR VALUES WITH (modulus 16, remainder 0);


ALTER TABLE public.users_16 OWNER TO postgres;

--
-- Name: withdraws; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws (
    id integer NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
)
PARTITION BY RANGE (date);


ALTER TABLE public.withdraws OWNER TO postgres;

--
-- Name: withdraws_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.withdraws_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.withdraws_id_seq OWNER TO postgres;

--
-- Name: withdraws_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.withdraws_id_seq OWNED BY public.withdraws.id;


--
-- Name: withdraws_202005; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202005 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202005 FOR VALUES FROM ('2020-05-01') TO ('2020-06-01');


ALTER TABLE public.withdraws_202005 OWNER TO postgres;

--
-- Name: withdraws_202006; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202006 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202006 FOR VALUES FROM ('2020-06-01') TO ('2020-07-01');


ALTER TABLE public.withdraws_202006 OWNER TO postgres;

--
-- Name: withdraws_202007; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202007 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202007 FOR VALUES FROM ('2020-07-01') TO ('2020-08-01');


ALTER TABLE public.withdraws_202007 OWNER TO postgres;

--
-- Name: withdraws_202008; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202008 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202008 FOR VALUES FROM ('2020-08-01') TO ('2020-09-01');


ALTER TABLE public.withdraws_202008 OWNER TO postgres;

--
-- Name: withdraws_202009; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202009 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202009 FOR VALUES FROM ('2020-09-01') TO ('2020-10-01');


ALTER TABLE public.withdraws_202009 OWNER TO postgres;

--
-- Name: withdraws_202010; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202010 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202010 FOR VALUES FROM ('2020-10-01') TO ('2020-11-01');


ALTER TABLE public.withdraws_202010 OWNER TO postgres;

--
-- Name: withdraws_202011; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202011 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202011 FOR VALUES FROM ('2020-11-01') TO ('2020-12-01');


ALTER TABLE public.withdraws_202011 OWNER TO postgres;

--
-- Name: withdraws_202012; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202012 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202012 FOR VALUES FROM ('2020-12-01') TO ('2021-01-01');


ALTER TABLE public.withdraws_202012 OWNER TO postgres;

--
-- Name: withdraws_202101; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202101 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202101 FOR VALUES FROM ('2021-01-01') TO ('2021-02-01');


ALTER TABLE public.withdraws_202101 OWNER TO postgres;

--
-- Name: withdraws_202102; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202102 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202102 FOR VALUES FROM ('2021-02-01') TO ('2021-03-01');


ALTER TABLE public.withdraws_202102 OWNER TO postgres;

--
-- Name: withdraws_202103; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202103 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202103 FOR VALUES FROM ('2021-03-01') TO ('2021-04-01');


ALTER TABLE public.withdraws_202103 OWNER TO postgres;

--
-- Name: withdraws_202104; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202104 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202104 FOR VALUES FROM ('2021-04-01') TO ('2021-05-01');


ALTER TABLE public.withdraws_202104 OWNER TO postgres;

--
-- Name: withdraws_202105; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202105 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202105 FOR VALUES FROM ('2021-05-01') TO ('2021-06-01');


ALTER TABLE public.withdraws_202105 OWNER TO postgres;

--
-- Name: withdraws_202106; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202106 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202106 FOR VALUES FROM ('2021-06-01') TO ('2021-07-01');


ALTER TABLE public.withdraws_202106 OWNER TO postgres;

--
-- Name: withdraws_202107; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202107 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202107 FOR VALUES FROM ('2021-07-01') TO ('2021-08-01');


ALTER TABLE public.withdraws_202107 OWNER TO postgres;

--
-- Name: withdraws_202108; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202108 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202108 FOR VALUES FROM ('2021-08-01') TO ('2021-09-01');


ALTER TABLE public.withdraws_202108 OWNER TO postgres;

--
-- Name: withdraws_202109; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202109 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202109 FOR VALUES FROM ('2021-09-01') TO ('2021-10-01');


ALTER TABLE public.withdraws_202109 OWNER TO postgres;

--
-- Name: withdraws_202110; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202110 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202110 FOR VALUES FROM ('2021-10-01') TO ('2021-11-01');


ALTER TABLE public.withdraws_202110 OWNER TO postgres;

--
-- Name: withdraws_202111; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202111 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202111 FOR VALUES FROM ('2021-11-01') TO ('2021-12-01');


ALTER TABLE public.withdraws_202111 OWNER TO postgres;

--
-- Name: withdraws_202112; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.withdraws_202112 (
    id integer DEFAULT nextval('public.withdraws_id_seq'::regclass) NOT NULL,
    bill_no character(20) DEFAULT ''::bpchar NOT NULL,
    date date DEFAULT CURRENT_DATE NOT NULL,
    user_id integer NOT NULL,
    user_name character varying(20) DEFAULT ''::character varying NOT NULL,
    amount numeric(16,4) DEFAULT 0 NOT NULL,
    created timestamp with time zone DEFAULT now() NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    audit_admin_id integer NOT NULL,
    audit_admin_name character varying(20) DEFAULT ''::character varying NOT NULL,
    audit_remark character varying(200) DEFAULT ''::character varying NOT NULL,
    audited timestamp with time zone DEFAULT now() NOT NULL,
    reason character varying(200) DEFAULT ''::character varying NOT NULL,
    finished timestamp with time zone,
    bank_id integer DEFAULT 0 NOT NULL,
    bank_name character varying(50) DEFAULT ''::character varying NOT NULL,
    real_name character varying(20) DEFAULT ''::character varying NOT NULL,
    card_id integer DEFAULT 0 NOT NULL,
    card_number character varying(20) DEFAULT ''::character varying NOT NULL,
    fee numeric(16,4) DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY public.withdraws ATTACH PARTITION public.withdraws_202112 FOR VALUES FROM ('2021-12-01') TO ('2022-01-01');


ALTER TABLE public.withdraws_202112 OWNER TO postgres;

--
-- Name: account_changes id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes ALTER COLUMN id SET DEFAULT nextval('public.account_changes_id_seq'::regclass);


--
-- Name: admin_logs id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs ALTER COLUMN id SET DEFAULT nextval('public.admin_logs_id_seq'::regclass);


--
-- Name: admin_roles id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_roles ALTER COLUMN id SET DEFAULT nextval('public.admin_roles_id_seq'::regclass);


--
-- Name: admins id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admins ALTER COLUMN id SET DEFAULT nextval('public.admins_id_seq'::regclass);


--
-- Name: banks id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.banks ALTER COLUMN id SET DEFAULT nextval('public.banks_id_seq'::regclass);


--
-- Name: cities id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.cities ALTER COLUMN id SET DEFAULT nextval('public.cities_id_seq'::regclass);


--
-- Name: menus id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.menus ALTER COLUMN id SET DEFAULT nextval('public.menus_id_seq'::regclass);


--
-- Name: provinces id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.provinces ALTER COLUMN id SET DEFAULT nextval('public.provinces_id_seq'::regclass);


--
-- Name: recharges id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges ALTER COLUMN id SET DEFAULT nextval('public.recharges_id_seq'::regclass);


--
-- Name: user_accounts id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts ALTER COLUMN id SET DEFAULT nextval('public.user_accounts_id_seq'::regclass);


--
-- Name: user_cards id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards ALTER COLUMN id SET DEFAULT nextval('public.user_cards_id_seq'::regclass);


--
-- Name: user_details id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details ALTER COLUMN id SET DEFAULT nextval('public.user_details_id_seq'::regclass);


--
-- Name: users id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);


--
-- Name: withdraws id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws ALTER COLUMN id SET DEFAULT nextval('public.withdraws_id_seq'::regclass);


--
-- Data for Name: account_changes_202005_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202005_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202005_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202005_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202005_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202005_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202005_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202006_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202006_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202007_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202007_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202008_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202008_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202009_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202009_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202010_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202010_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202011_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202011_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202012_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202012_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202101_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202101_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202102_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202102_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202103_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202103_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202104_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202104_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202105_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202105_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202106_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202106_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202107_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202107_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202108_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202108_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202109_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202109_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202110_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202110_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202111_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202111_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_01 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_02 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_03 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_04 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_05 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: account_changes_202112_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_changes_202112_06 (id, bill_no, date, user_id, user_name, amount, type, in_out, before_remain, before_frozen, before_total, after_remain, after_frozen, after_total, remark, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202005; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202005 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202006; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202006 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202007; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202007 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202008; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202008 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202009; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202009 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202010; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202010 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202011; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202011 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202012; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202012 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202101; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202101 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202102; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202102 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202103; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202103 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202104; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202104 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202105; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202105 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202106; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202106 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202107; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202107 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202108; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202108 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202109; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202109 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202110; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202110 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202111; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202111 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_logs_202112; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_logs_202112 (id, admin_id, admin_name, log_type, url, remark, date, created) FROM stdin;
\.


--
-- Data for Name: admin_roles; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admin_roles (id, name, remark, status, menus, sort) FROM stdin;
1	后台管理员		0	\N	0
\.


--
-- Data for Name: admins; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.admins (id, name, password, role_id, secret, last_login, login_count, last_ip, status, created, updated, sort, remark) FROM stdin;
3	admin	1650b4443594c56415ac45a9cc5186a0	1	0b75a1267be2693ba75fb421d7dfc09c	2020-06-26 11:57:00.826976+08	0	\N	1	2020-06-26 11:57:00.826976+08	2020-06-26 11:57:00.826976+08	0	
\.


--
-- Data for Name: banks; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.banks (id, name, remark, status, sort, code) FROM stdin;
1	国家开发银行	国家开发银行	0	0	CDB         
2	中国工商银行	中国工商银行	0	0	ICBC        
3	中国农业银行	中国农业银行	0	0	ABC         
4	中国银行	中国银行	0	0	BOC         
5	中国建设银行	中国建设银行	0	0	CCB         
6	中国邮政储蓄银行	中国邮政储蓄银行	0	0	PSBC        
7	交通银行	交通银行	0	0	COMM        
8	招商银行	招商银行	0	0	CMB         
9	上海浦东发展银行	上海浦东发展银行	0	0	SPDB        
10	兴业银行	兴业银行	0	0	CIB         
11	华夏银行	华夏银行	0	0	HXBANK      
12	广东发展银行	广东发展银行	0	0	GDB         
13	中国民生银行	中国民生银行	0	0	CMBC        
14	中信银行	中信银行	0	0	CITIC       
15	中国光大银行	中国光大银行	0	0	CEB         
16	恒丰银行	恒丰银行	0	0	EGBANK      
17	浙商银行	浙商银行	0	0	CZBANK      
18	渤海银行	渤海银行	0	0	BOHAIB      
19	平安银行	平安银行	0	0	SPABANK     
20	上海农村商业银行	上海农村商业银行	0	0	SHRCB       
21	玉溪市商业银行	玉溪市商业银行	0	0	YXCCB       
22	尧都农商行	尧都农商行	0	0	YDRCB       
23	北京银行	北京银行	0	0	BJBANK      
24	上海银行	上海银行	0	0	SHBANK      
25	江苏银行	江苏银行	0	0	JSBANK      
26	杭州银行	杭州银行	0	0	HZCB        
27	南京银行	南京银行	0	0	NJCB        
28	宁波银行	宁波银行	0	0	NBBANK      
29	徽商银行	徽商银行	0	0	HSBANK      
30	长沙银行	长沙银行	0	0	CSCB        
31	成都银行	成都银行	0	0	CDCB        
32	重庆银行	重庆银行	0	0	CQBANK      
33	大连银行	大连银行	0	0	DLB         
34	南昌银行	南昌银行	0	0	NCB         
35	福建海峡银行	福建海峡银行	0	0	FJHXBC      
36	汉口银行	汉口银行	0	0	HKB         
37	温州银行	温州银行	0	0	WZCB        
38	青岛银行	青岛银行	0	0	QDCCB       
39	台州银行	台州银行	0	0	TZCB        
40	嘉兴银行	嘉兴银行	0	0	JXBANK      
41	常熟农村商业银行	常熟农村商业银行	0	0	CSRCB       
42	南海农村信用联社	南海农村信用联社	0	0	NHB         
43	常州农村信用联社	常州农村信用联社	0	0	CZRCB       
44	内蒙古银行	内蒙古银行	0	0	H3CB        
45	绍兴银行	绍兴银行	0	0	SXCB        
46	顺德农商银行	顺德农商银行	0	0	SDEB        
47	吴江农商银行	吴江农商银行	0	0	WJRCB       
48	齐商银行	齐商银行	0	0	ZBCB        
49	贵阳市商业银行	贵阳市商业银行	0	0	GYCB        
50	遵义市商业银行	遵义市商业银行	0	0	ZYCBANK     
51	湖州市商业银行	湖州市商业银行	0	0	HZCCB       
52	龙江银行	龙江银行	0	0	DAQINGB     
53	晋城银行JCBANK	晋城银行JCBANK	0	0	JINCHB      
54	浙江泰隆商业银行	浙江泰隆商业银行	0	0	ZJTLCB      
55	广东省农村信用社联合社	广东省农村信用社联合社	0	0	GDRCC       
56	东莞农村商业银行	东莞农村商业银行	0	0	DRCBCL      
57	浙江民泰商业银行	浙江民泰商业银行	0	0	MTBANK      
58	广州银行	广州银行	0	0	GCB         
59	辽阳市商业银行	辽阳市商业银行	0	0	LYCB        
60	江苏省农村信用联合社	江苏省农村信用联合社	0	0	JSRCU       
61	廊坊银行	廊坊银行	0	0	LANGFB      
62	浙江稠州商业银行	浙江稠州商业银行	0	0	CZCB        
63	德阳商业银行	德阳商业银行	0	0	DYCB        
64	晋中市商业银行	晋中市商业银行	0	0	JZBANK      
65	苏州银行	苏州银行	0	0	BOSZ        
66	桂林银行	桂林银行	0	0	GLBANK      
67	乌鲁木齐市商业银行	乌鲁木齐市商业银行	0	0	URMQCCB     
68	成都农商银行	成都农商银行	0	0	CDRCB       
69	张家港农村商业银行	张家港农村商业银行	0	0	ZRCBANK     
70	东莞银行	东莞银行	0	0	BOD         
71	莱商银行	莱商银行	0	0	LSBANK      
72	北京农村商业银行	北京农村商业银行	0	0	BJRCB       
73	天津农商银行	天津农商银行	0	0	TRCB        
74	上饶银行	上饶银行	0	0	SRBANK      
75	富滇银行	富滇银行	0	0	FDB         
76	重庆农村商业银行	重庆农村商业银行	0	0	CRCBANK     
77	鞍山银行	鞍山银行	0	0	ASCB        
78	宁夏银行	宁夏银行	0	0	NXBANK      
79	河北银行	河北银行	0	0	BHB         
80	华融湘江银行	华融湘江银行	0	0	HRXJB       
81	自贡市商业银行	自贡市商业银行	0	0	ZGCCB       
82	云南省农村信用社	云南省农村信用社	0	0	YNRCC       
83	吉林银行	吉林银行	0	0	JLBANK      
84	东营市商业银行	东营市商业银行	0	0	DYCCB       
85	昆仑银行	昆仑银行	0	0	KLB         
86	鄂尔多斯银行	鄂尔多斯银行	0	0	ORBANK      
87	邢台银行	邢台银行	0	0	XTB         
88	晋商银行	晋商银行	0	0	JSB         
89	天津银行	天津银行	0	0	TCCB        
90	营口银行	营口银行	0	0	BOYK        
91	吉林农信	吉林农信	0	0	JLRCU       
92	山东农信	山东农信	0	0	SDRCU       
93	西安银行	西安银行	0	0	XABANK      
94	河北省农村信用社	河北省农村信用社	0	0	HBRCU       
95	宁夏黄河农村商业银行	宁夏黄河农村商业银行	0	0	NXRCU       
96	贵州省农村信用社	贵州省农村信用社	0	0	GZRCU       
97	阜新银行	阜新银行	0	0	FXCB        
98	湖北银行黄石分行	湖北银行黄石分行	0	0	HBHSBANK    
99	浙江省农村信用社联合社	浙江省农村信用社联合社	0	0	ZJNX        
100	新乡银行	新乡银行	0	0	XXBANK      
101	湖北银行宜昌分行	湖北银行宜昌分行	0	0	HBYCBANK    
102	乐山市商业银行	乐山市商业银行	0	0	LSCCB       
103	江苏太仓农村商业银行	江苏太仓农村商业银行	0	0	TCRCB       
104	驻马店银行	驻马店银行	0	0	BZMD        
105	赣州银行	赣州银行	0	0	GZB         
106	无锡农村商业银行	无锡农村商业银行	0	0	WRCB        
107	广西北部湾银行	广西北部湾银行	0	0	BGB         
108	广州农商银行	广州农商银行	0	0	GRCB        
109	江苏江阴农村商业银行	江苏江阴农村商业银行	0	0	JRCB        
110	平顶山银行	平顶山银行	0	0	BOP         
111	泰安市商业银行	泰安市商业银行	0	0	TACCB       
112	南充市商业银行	南充市商业银行	0	0	CGNB        
113	重庆三峡银行	重庆三峡银行	0	0	CCQTGB      
114	中山小榄村镇银行	中山小榄村镇银行	0	0	XLBANK      
115	邯郸银行	邯郸银行	0	0	HDBANK      
116	库尔勒市商业银行	库尔勒市商业银行	0	0	KORLABANK   
117	锦州银行	锦州银行	0	0	BOJZ        
118	齐鲁银行	齐鲁银行	0	0	QLBANK      
119	青海银行	青海银行	0	0	BOQH        
120	阳泉银行	阳泉银行	0	0	YQCCB       
121	盛京银行	盛京银行	0	0	SJBANK      
122	抚顺银行	抚顺银行	0	0	FSCB        
123	郑州银行	郑州银行	0	0	ZZBANK      
124	深圳农村商业银行	深圳农村商业银行	0	0	SRCB        
125	潍坊银行	潍坊银行	0	0	BANKWF      
126	九江银行	九江银行	0	0	JJBANK      
127	江西省农村信用	江西省农村信用	0	0	JXRCU       
128	河南省农村信用	河南省农村信用	0	0	HNRCU       
129	甘肃省农村信用	甘肃省农村信用	0	0	GSRCU       
130	四川省农村信用	四川省农村信用	0	0	SCRCU       
131	广西省农村信用	广西省农村信用	0	0	GXRCU       
132	陕西信合	陕西信合	0	0	SXRCCU      
133	武汉农村商业银行	武汉农村商业银行	0	0	WHRCB       
134	宜宾市商业银行	宜宾市商业银行	0	0	YBCCB       
135	昆山农村商业银行	昆山农村商业银行	0	0	KSRB        
136	石嘴山银行	石嘴山银行	0	0	SZSBK       
137	衡水银行	衡水银行	0	0	HSBK        
138	信阳银行	信阳银行	0	0	XYBANK      
139	鄞州银行	鄞州银行	0	0	NBYZ        
140	张家口市商业银行	张家口市商业银行	0	0	ZJKCCB      
141	许昌银行	许昌银行	0	0	XCYH        
142	济宁银行	济宁银行	0	0	JNBANK      
143	开封市商业银行	开封市商业银行	0	0	CBKF        
144	威海市商业银行	威海市商业银行	0	0	WHCCB       
145	湖北银行	湖北银行	0	0	HBC         
146	承德银行	承德银行	0	0	BOCD        
147	丹东银行	丹东银行	0	0	BODD        
148	金华银行	金华银行	0	0	JHBANK      
149	朝阳银行	朝阳银行	0	0	BOCY        
150	临商银行	临商银行	0	0	LSBC        
151	包商银行	包商银行	0	0	BSB         
152	兰州银行	兰州银行	0	0	LZYH        
153	周口银行	周口银行	0	0	BOZK        
154	德州银行	德州银行	0	0	DZBANK      
155	三门峡银行	三门峡银行	0	0	SCCB        
156	安阳银行	安阳银行	0	0	AYCB        
157	安徽省农村信用社	安徽省农村信用社	0	0	ARCU        
158	湖北省农村信用社	湖北省农村信用社	0	0	HURCB       
159	湖南省农村信用社	湖南省农村信用社	0	0	HNRCC       
160	广东南粤银行	广东南粤银行	0	0	NYNB        
161	洛阳银行	洛阳银行	0	0	LYBANK      
162	农信银清算中心	农信银清算中心	0	0	NHQS        
163	城市商业银行资金清算中心	城市商业银行资金清算中心	0	0	CBBQS       
\.


--
-- Data for Name: cities; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.cities (id, province_id, province_code, code, name, remark, sort) FROM stdin;
1	1	110000000000    	110100000000    	市辖区	北京市	0
2	2	120000000000    	120100000000    	市辖区	天津市	0
3	3	130000000000    	130100000000    	石家庄市	河北省	0
4	3	130000000000    	130200000000    	唐山市	河北省	0
5	3	130000000000    	130300000000    	秦皇岛市	河北省	0
6	3	130000000000    	130400000000    	邯郸市	河北省	0
7	3	130000000000    	130500000000    	邢台市	河北省	0
8	3	130000000000    	130600000000    	保定市	河北省	0
9	3	130000000000    	130700000000    	张家口市	河北省	0
10	3	130000000000    	130800000000    	承德市	河北省	0
11	3	130000000000    	130900000000    	沧州市	河北省	0
12	3	130000000000    	131000000000    	廊坊市	河北省	0
13	3	130000000000    	131100000000    	衡水市	河北省	0
14	4	140000000000    	140100000000    	太原市	山西省	0
15	4	140000000000    	140200000000    	大同市	山西省	0
16	4	140000000000    	140300000000    	阳泉市	山西省	0
17	4	140000000000    	140400000000    	长治市	山西省	0
18	4	140000000000    	140500000000    	晋城市	山西省	0
19	4	140000000000    	140600000000    	朔州市	山西省	0
20	4	140000000000    	140700000000    	晋中市	山西省	0
21	4	140000000000    	140800000000    	运城市	山西省	0
22	4	140000000000    	140900000000    	忻州市	山西省	0
23	4	140000000000    	141000000000    	临汾市	山西省	0
24	4	140000000000    	141100000000    	吕梁市	山西省	0
25	5	150000000000    	150100000000    	呼和浩特市	内蒙古自治区	0
26	5	150000000000    	150200000000    	包头市	内蒙古自治区	0
27	5	150000000000    	150300000000    	乌海市	内蒙古自治区	0
28	5	150000000000    	150400000000    	赤峰市	内蒙古自治区	0
29	5	150000000000    	150500000000    	通辽市	内蒙古自治区	0
30	5	150000000000    	150600000000    	鄂尔多斯市	内蒙古自治区	0
31	5	150000000000    	150700000000    	呼伦贝尔市	内蒙古自治区	0
32	5	150000000000    	150800000000    	巴彦淖尔市	内蒙古自治区	0
33	5	150000000000    	150900000000    	乌兰察布市	内蒙古自治区	0
34	5	150000000000    	152200000000    	兴安盟	内蒙古自治区	0
35	5	150000000000    	152500000000    	锡林郭勒盟	内蒙古自治区	0
36	5	150000000000    	152900000000    	阿拉善盟	内蒙古自治区	0
37	6	210000000000    	210100000000    	沈阳市	辽宁省	0
38	6	210000000000    	210200000000    	大连市	辽宁省	0
39	6	210000000000    	210300000000    	鞍山市	辽宁省	0
40	6	210000000000    	210400000000    	抚顺市	辽宁省	0
41	6	210000000000    	210500000000    	本溪市	辽宁省	0
42	6	210000000000    	210600000000    	丹东市	辽宁省	0
43	6	210000000000    	210700000000    	锦州市	辽宁省	0
44	6	210000000000    	210800000000    	营口市	辽宁省	0
45	6	210000000000    	210900000000    	阜新市	辽宁省	0
46	6	210000000000    	211000000000    	辽阳市	辽宁省	0
47	6	210000000000    	211100000000    	盘锦市	辽宁省	0
48	6	210000000000    	211200000000    	铁岭市	辽宁省	0
49	6	210000000000    	211300000000    	朝阳市	辽宁省	0
50	6	210000000000    	211400000000    	葫芦岛市	辽宁省	0
51	7	220000000000    	220100000000    	长春市	吉林省	0
52	7	220000000000    	220200000000    	吉林市	吉林省	0
53	7	220000000000    	220300000000    	四平市	吉林省	0
54	7	220000000000    	220400000000    	辽源市	吉林省	0
55	7	220000000000    	220500000000    	通化市	吉林省	0
56	7	220000000000    	220600000000    	白山市	吉林省	0
57	7	220000000000    	220700000000    	松原市	吉林省	0
58	7	220000000000    	220800000000    	白城市	吉林省	0
59	7	220000000000    	222400000000    	延边朝鲜族自治州	吉林省	0
60	8	230000000000    	230100000000    	哈尔滨市	黑龙江省	0
61	8	230000000000    	230200000000    	齐齐哈尔市	黑龙江省	0
62	8	230000000000    	230300000000    	鸡西市	黑龙江省	0
63	8	230000000000    	230400000000    	鹤岗市	黑龙江省	0
64	8	230000000000    	230500000000    	双鸭山市	黑龙江省	0
65	8	230000000000    	230600000000    	大庆市	黑龙江省	0
66	8	230000000000    	230700000000    	伊春市	黑龙江省	0
67	8	230000000000    	230800000000    	佳木斯市	黑龙江省	0
68	8	230000000000    	230900000000    	七台河市	黑龙江省	0
69	8	230000000000    	231000000000    	牡丹江市	黑龙江省	0
70	8	230000000000    	231100000000    	黑河市	黑龙江省	0
71	8	230000000000    	231200000000    	绥化市	黑龙江省	0
72	8	230000000000    	232700000000    	大兴安岭地区	黑龙江省	0
73	9	310000000000    	310100000000    	市辖区	上海市	0
74	10	320000000000    	320100000000    	南京市	江苏省	0
75	10	320000000000    	320200000000    	无锡市	江苏省	0
76	10	320000000000    	320300000000    	徐州市	江苏省	0
77	10	320000000000    	320400000000    	常州市	江苏省	0
78	10	320000000000    	320500000000    	苏州市	江苏省	0
79	10	320000000000    	320600000000    	南通市	江苏省	0
80	10	320000000000    	320700000000    	连云港市	江苏省	0
81	10	320000000000    	320800000000    	淮安市	江苏省	0
82	10	320000000000    	320900000000    	盐城市	江苏省	0
83	10	320000000000    	321000000000    	扬州市	江苏省	0
84	10	320000000000    	321100000000    	镇江市	江苏省	0
85	10	320000000000    	321200000000    	泰州市	江苏省	0
86	10	320000000000    	321300000000    	宿迁市	江苏省	0
87	11	330000000000    	330100000000    	杭州市	浙江省	0
88	11	330000000000    	330200000000    	宁波市	浙江省	0
89	11	330000000000    	330300000000    	温州市	浙江省	0
90	11	330000000000    	330400000000    	嘉兴市	浙江省	0
91	11	330000000000    	330500000000    	湖州市	浙江省	0
92	11	330000000000    	330600000000    	绍兴市	浙江省	0
93	11	330000000000    	330700000000    	金华市	浙江省	0
94	11	330000000000    	330800000000    	衢州市	浙江省	0
95	11	330000000000    	330900000000    	舟山市	浙江省	0
96	11	330000000000    	331000000000    	台州市	浙江省	0
97	11	330000000000    	331100000000    	丽水市	浙江省	0
98	12	340000000000    	340100000000    	合肥市	安徽省	0
99	12	340000000000    	340200000000    	芜湖市	安徽省	0
100	12	340000000000    	340300000000    	蚌埠市	安徽省	0
101	12	340000000000    	340400000000    	淮南市	安徽省	0
102	12	340000000000    	340500000000    	马鞍山市	安徽省	0
103	12	340000000000    	340600000000    	淮北市	安徽省	0
104	12	340000000000    	340700000000    	铜陵市	安徽省	0
105	12	340000000000    	340800000000    	安庆市	安徽省	0
106	12	340000000000    	341000000000    	黄山市	安徽省	0
107	12	340000000000    	341100000000    	滁州市	安徽省	0
108	12	340000000000    	341200000000    	阜阳市	安徽省	0
109	12	340000000000    	341300000000    	宿州市	安徽省	0
110	12	340000000000    	341500000000    	六安市	安徽省	0
111	12	340000000000    	341600000000    	亳州市	安徽省	0
112	12	340000000000    	341700000000    	池州市	安徽省	0
113	12	340000000000    	341800000000    	宣城市	安徽省	0
114	13	350000000000    	350100000000    	福州市	福建省	0
115	13	350000000000    	350200000000    	厦门市	福建省	0
116	13	350000000000    	350300000000    	莆田市	福建省	0
117	13	350000000000    	350400000000    	三明市	福建省	0
118	13	350000000000    	350500000000    	泉州市	福建省	0
119	13	350000000000    	350600000000    	漳州市	福建省	0
120	13	350000000000    	350700000000    	南平市	福建省	0
121	13	350000000000    	350800000000    	龙岩市	福建省	0
122	13	350000000000    	350900000000    	宁德市	福建省	0
123	14	360000000000    	360100000000    	南昌市	江西省	0
124	14	360000000000    	360200000000    	景德镇市	江西省	0
125	14	360000000000    	360300000000    	萍乡市	江西省	0
126	14	360000000000    	360400000000    	九江市	江西省	0
127	14	360000000000    	360500000000    	新余市	江西省	0
128	14	360000000000    	360600000000    	鹰潭市	江西省	0
129	14	360000000000    	360700000000    	赣州市	江西省	0
130	14	360000000000    	360800000000    	吉安市	江西省	0
131	14	360000000000    	360900000000    	宜春市	江西省	0
132	14	360000000000    	361000000000    	抚州市	江西省	0
133	14	360000000000    	361100000000    	上饶市	江西省	0
134	15	370000000000    	370100000000    	济南市	山东省	0
135	15	370000000000    	370200000000    	青岛市	山东省	0
136	15	370000000000    	370300000000    	淄博市	山东省	0
137	15	370000000000    	370400000000    	枣庄市	山东省	0
138	15	370000000000    	370500000000    	东营市	山东省	0
139	15	370000000000    	370600000000    	烟台市	山东省	0
140	15	370000000000    	370700000000    	潍坊市	山东省	0
141	15	370000000000    	370800000000    	济宁市	山东省	0
142	15	370000000000    	370900000000    	泰安市	山东省	0
143	15	370000000000    	371000000000    	威海市	山东省	0
144	15	370000000000    	371100000000    	日照市	山东省	0
145	15	370000000000    	371200000000    	莱芜市	山东省	0
146	15	370000000000    	371300000000    	临沂市	山东省	0
147	15	370000000000    	371400000000    	德州市	山东省	0
148	15	370000000000    	371500000000    	聊城市	山东省	0
149	15	370000000000    	371600000000    	滨州市	山东省	0
150	15	370000000000    	371700000000    	菏泽市	山东省	0
151	16	410000000000    	410100000000    	郑州市	河南省	0
152	16	410000000000    	410200000000    	开封市	河南省	0
153	16	410000000000    	410300000000    	洛阳市	河南省	0
154	16	410000000000    	410400000000    	平顶山市	河南省	0
155	16	410000000000    	410500000000    	安阳市	河南省	0
156	16	410000000000    	410600000000    	鹤壁市	河南省	0
157	16	410000000000    	410700000000    	新乡市	河南省	0
158	16	410000000000    	410800000000    	焦作市	河南省	0
159	16	410000000000    	410900000000    	濮阳市	河南省	0
160	16	410000000000    	411000000000    	许昌市	河南省	0
161	16	410000000000    	411100000000    	漯河市	河南省	0
162	16	410000000000    	411200000000    	三门峡市	河南省	0
163	16	410000000000    	411300000000    	南阳市	河南省	0
164	16	410000000000    	411400000000    	商丘市	河南省	0
165	16	410000000000    	411500000000    	信阳市	河南省	0
166	16	410000000000    	411600000000    	周口市	河南省	0
167	16	410000000000    	411700000000    	驻马店市	河南省	0
168	16	410000000000    	419000000000    	省直辖县级行政区划	河南省	0
169	17	420000000000    	420100000000    	武汉市	湖北省	0
170	17	420000000000    	420200000000    	黄石市	湖北省	0
171	17	420000000000    	420300000000    	十堰市	湖北省	0
172	17	420000000000    	420500000000    	宜昌市	湖北省	0
173	17	420000000000    	420600000000    	襄阳市	湖北省	0
174	17	420000000000    	420700000000    	鄂州市	湖北省	0
175	17	420000000000    	420800000000    	荆门市	湖北省	0
176	17	420000000000    	420900000000    	孝感市	湖北省	0
177	17	420000000000    	421000000000    	荆州市	湖北省	0
178	17	420000000000    	421100000000    	黄冈市	湖北省	0
179	17	420000000000    	421200000000    	咸宁市	湖北省	0
180	17	420000000000    	421300000000    	随州市	湖北省	0
181	17	420000000000    	422800000000    	恩施土家族苗族自治州	湖北省	0
182	17	420000000000    	429000000000    	省直辖县级行政区划	湖北省	0
183	18	430000000000    	430100000000    	长沙市	湖南省	0
184	18	430000000000    	430200000000    	株洲市	湖南省	0
185	18	430000000000    	430300000000    	湘潭市	湖南省	0
186	18	430000000000    	430400000000    	衡阳市	湖南省	0
187	18	430000000000    	430500000000    	邵阳市	湖南省	0
188	18	430000000000    	430600000000    	岳阳市	湖南省	0
189	18	430000000000    	430700000000    	常德市	湖南省	0
190	18	430000000000    	430800000000    	张家界市	湖南省	0
191	18	430000000000    	430900000000    	益阳市	湖南省	0
192	18	430000000000    	431000000000    	郴州市	湖南省	0
193	18	430000000000    	431100000000    	永州市	湖南省	0
194	18	430000000000    	431200000000    	怀化市	湖南省	0
195	18	430000000000    	431300000000    	娄底市	湖南省	0
196	18	430000000000    	433100000000    	湘西土家族苗族自治州	湖南省	0
197	19	440000000000    	440100000000    	广州市	广东省	0
198	19	440000000000    	440200000000    	韶关市	广东省	0
199	19	440000000000    	440300000000    	深圳市	广东省	0
200	19	440000000000    	440400000000    	珠海市	广东省	0
201	19	440000000000    	440500000000    	汕头市	广东省	0
202	19	440000000000    	440600000000    	佛山市	广东省	0
203	19	440000000000    	440700000000    	江门市	广东省	0
204	19	440000000000    	440800000000    	湛江市	广东省	0
205	19	440000000000    	440900000000    	茂名市	广东省	0
206	19	440000000000    	441200000000    	肇庆市	广东省	0
207	19	440000000000    	441300000000    	惠州市	广东省	0
208	19	440000000000    	441400000000    	梅州市	广东省	0
209	19	440000000000    	441500000000    	汕尾市	广东省	0
210	19	440000000000    	441600000000    	河源市	广东省	0
211	19	440000000000    	441700000000    	阳江市	广东省	0
212	19	440000000000    	441800000000    	清远市	广东省	0
213	19	440000000000    	441900000000    	东莞市	广东省	0
214	19	440000000000    	442000000000    	中山市	广东省	0
215	19	440000000000    	445100000000    	潮州市	广东省	0
216	19	440000000000    	445200000000    	揭阳市	广东省	0
217	19	440000000000    	445300000000    	云浮市	广东省	0
218	20	450000000000    	450100000000    	南宁市	广西壮族自治区	0
219	20	450000000000    	450200000000    	柳州市	广西壮族自治区	0
220	20	450000000000    	450300000000    	桂林市	广西壮族自治区	0
221	20	450000000000    	450400000000    	梧州市	广西壮族自治区	0
222	20	450000000000    	450500000000    	北海市	广西壮族自治区	0
223	20	450000000000    	450600000000    	防城港市	广西壮族自治区	0
224	20	450000000000    	450700000000    	钦州市	广西壮族自治区	0
225	20	450000000000    	450800000000    	贵港市	广西壮族自治区	0
226	20	450000000000    	450900000000    	玉林市	广西壮族自治区	0
227	20	450000000000    	451000000000    	百色市	广西壮族自治区	0
228	20	450000000000    	451100000000    	贺州市	广西壮族自治区	0
229	20	450000000000    	451200000000    	河池市	广西壮族自治区	0
230	20	450000000000    	451300000000    	来宾市	广西壮族自治区	0
231	20	450000000000    	451400000000    	崇左市	广西壮族自治区	0
232	21	460000000000    	460100000000    	海口市	海南省	0
233	21	460000000000    	460200000000    	三亚市	海南省	0
234	21	460000000000    	460300000000    	三沙市	海南省	0
235	21	460000000000    	460400000000    	儋州市	海南省	0
236	21	460000000000    	469000000000    	省直辖县级行政区划	海南省	0
237	22	500000000000    	500100000000    	市辖区	重庆市	0
238	22	500000000000    	500200000000    	县	重庆市	0
239	23	510000000000    	510100000000    	成都市	四川省	0
240	23	510000000000    	510300000000    	自贡市	四川省	0
241	23	510000000000    	510400000000    	攀枝花市	四川省	0
242	23	510000000000    	510500000000    	泸州市	四川省	0
243	23	510000000000    	510600000000    	德阳市	四川省	0
244	23	510000000000    	510700000000    	绵阳市	四川省	0
245	23	510000000000    	510800000000    	广元市	四川省	0
246	23	510000000000    	510900000000    	遂宁市	四川省	0
247	23	510000000000    	511000000000    	内江市	四川省	0
248	23	510000000000    	511100000000    	乐山市	四川省	0
249	23	510000000000    	511300000000    	南充市	四川省	0
250	23	510000000000    	511400000000    	眉山市	四川省	0
251	23	510000000000    	511500000000    	宜宾市	四川省	0
252	23	510000000000    	511600000000    	广安市	四川省	0
253	23	510000000000    	511700000000    	达州市	四川省	0
254	23	510000000000    	511800000000    	雅安市	四川省	0
255	23	510000000000    	511900000000    	巴中市	四川省	0
256	23	510000000000    	512000000000    	资阳市	四川省	0
257	23	510000000000    	513200000000    	阿坝藏族羌族自治州	四川省	0
258	23	510000000000    	513300000000    	甘孜藏族自治州	四川省	0
259	23	510000000000    	513400000000    	凉山彝族自治州	四川省	0
260	24	520000000000    	520100000000    	贵阳市	贵州省	0
261	24	520000000000    	520200000000    	六盘水市	贵州省	0
262	24	520000000000    	520300000000    	遵义市	贵州省	0
263	24	520000000000    	520400000000    	安顺市	贵州省	0
264	24	520000000000    	520500000000    	毕节市	贵州省	0
265	24	520000000000    	520600000000    	铜仁市	贵州省	0
266	24	520000000000    	522300000000    	黔西南布依族苗族自治州	贵州省	0
267	24	520000000000    	522600000000    	黔东南苗族侗族自治州	贵州省	0
268	24	520000000000    	522700000000    	黔南布依族苗族自治州	贵州省	0
269	25	530000000000    	530100000000    	昆明市	云南省	0
270	25	530000000000    	530300000000    	曲靖市	云南省	0
271	25	530000000000    	530400000000    	玉溪市	云南省	0
272	25	530000000000    	530500000000    	保山市	云南省	0
273	25	530000000000    	530600000000    	昭通市	云南省	0
274	25	530000000000    	530700000000    	丽江市	云南省	0
275	25	530000000000    	530800000000    	普洱市	云南省	0
276	25	530000000000    	530900000000    	临沧市	云南省	0
277	25	530000000000    	532300000000    	楚雄彝族自治州	云南省	0
278	25	530000000000    	532500000000    	红河哈尼族彝族自治州	云南省	0
279	25	530000000000    	532600000000    	文山壮族苗族自治州	云南省	0
280	25	530000000000    	532800000000    	西双版纳傣族自治州	云南省	0
281	25	530000000000    	532900000000    	大理白族自治州	云南省	0
282	25	530000000000    	533100000000    	德宏傣族景颇族自治州	云南省	0
283	25	530000000000    	533300000000    	怒江傈僳族自治州	云南省	0
284	25	530000000000    	533400000000    	迪庆藏族自治州	云南省	0
285	26	540000000000    	540100000000    	拉萨市	西藏自治区	0
286	26	540000000000    	540200000000    	日喀则市	西藏自治区	0
287	26	540000000000    	540300000000    	昌都市	西藏自治区	0
288	26	540000000000    	540400000000    	林芝市	西藏自治区	0
289	26	540000000000    	540500000000    	山南市	西藏自治区	0
290	26	540000000000    	540600000000    	那曲市	西藏自治区	0
291	26	540000000000    	542500000000    	阿里地区	西藏自治区	0
292	27	610000000000    	610100000000    	西安市	陕西省	0
293	27	610000000000    	610200000000    	铜川市	陕西省	0
294	27	610000000000    	610300000000    	宝鸡市	陕西省	0
295	27	610000000000    	610400000000    	咸阳市	陕西省	0
296	27	610000000000    	610500000000    	渭南市	陕西省	0
297	27	610000000000    	610600000000    	延安市	陕西省	0
298	27	610000000000    	610700000000    	汉中市	陕西省	0
299	27	610000000000    	610800000000    	榆林市	陕西省	0
300	27	610000000000    	610900000000    	安康市	陕西省	0
301	27	610000000000    	611000000000    	商洛市	陕西省	0
302	28	620000000000    	620100000000    	兰州市	甘肃省	0
303	28	620000000000    	620200000000    	嘉峪关市	甘肃省	0
304	28	620000000000    	620300000000    	金昌市	甘肃省	0
305	28	620000000000    	620400000000    	白银市	甘肃省	0
306	28	620000000000    	620500000000    	天水市	甘肃省	0
307	28	620000000000    	620600000000    	武威市	甘肃省	0
308	28	620000000000    	620700000000    	张掖市	甘肃省	0
309	28	620000000000    	620800000000    	平凉市	甘肃省	0
310	28	620000000000    	620900000000    	酒泉市	甘肃省	0
311	28	620000000000    	621000000000    	庆阳市	甘肃省	0
312	28	620000000000    	621100000000    	定西市	甘肃省	0
313	28	620000000000    	621200000000    	陇南市	甘肃省	0
314	28	620000000000    	622900000000    	临夏回族自治州	甘肃省	0
315	28	620000000000    	623000000000    	甘南藏族自治州	甘肃省	0
316	29	630000000000    	630100000000    	西宁市	青海省	0
317	29	630000000000    	630200000000    	海东市	青海省	0
318	29	630000000000    	632200000000    	海北藏族自治州	青海省	0
319	29	630000000000    	632300000000    	黄南藏族自治州	青海省	0
320	29	630000000000    	632500000000    	海南藏族自治州	青海省	0
321	29	630000000000    	632600000000    	果洛藏族自治州	青海省	0
322	29	630000000000    	632700000000    	玉树藏族自治州	青海省	0
323	29	630000000000    	632800000000    	海西蒙古族藏族自治州	青海省	0
324	30	640000000000    	640100000000    	银川市	宁夏回族自治区	0
325	30	640000000000    	640200000000    	石嘴山市	宁夏回族自治区	0
326	30	640000000000    	640300000000    	吴忠市	宁夏回族自治区	0
327	30	640000000000    	640400000000    	固原市	宁夏回族自治区	0
328	30	640000000000    	640500000000    	中卫市	宁夏回族自治区	0
329	31	650000000000    	650100000000    	乌鲁木齐市	新疆维吾尔自治区	0
330	31	650000000000    	650200000000    	克拉玛依市	新疆维吾尔自治区	0
331	31	650000000000    	650400000000    	吐鲁番市	新疆维吾尔自治区	0
332	31	650000000000    	650500000000    	哈密市	新疆维吾尔自治区	0
333	31	650000000000    	652300000000    	昌吉回族自治州	新疆维吾尔自治区	0
334	31	650000000000    	652700000000    	博尔塔拉蒙古自治州	新疆维吾尔自治区	0
335	31	650000000000    	652800000000    	巴音郭楞蒙古自治州	新疆维吾尔自治区	0
336	31	650000000000    	652900000000    	阿克苏地区	新疆维吾尔自治区	0
337	31	650000000000    	653000000000    	克孜勒苏柯尔克孜自治州	新疆维吾尔自治区	0
338	31	650000000000    	653100000000    	喀什地区	新疆维吾尔自治区	0
339	31	650000000000    	653200000000    	和田地区	新疆维吾尔自治区	0
340	31	650000000000    	654000000000    	伊犁哈萨克自治州	新疆维吾尔自治区	0
341	31	650000000000    	654200000000    	塔城地区	新疆维吾尔自治区	0
342	31	650000000000    	654300000000    	阿勒泰地区	新疆维吾尔自治区	0
343	31	650000000000    	659000000000    	自治区直辖县级行政区划	新疆维吾尔自治区	0
\.


--
-- Data for Name: menus; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.menus (id, parent_id, name, url, icon, is_blank, is_show, sort, level) FROM stdin;
\.


--
-- Data for Name: provinces; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.provinces (id, code, name, remark, sort) FROM stdin;
1	110000000000    	北京市	北京市	0
2	120000000000    	天津市	天津市	0
3	130000000000    	河北省	河北省	0
4	140000000000    	山西省	山西省	0
5	150000000000    	内蒙古自治区	内蒙古自治区	0
6	210000000000    	辽宁省	辽宁省	0
7	220000000000    	吉林省	吉林省	0
8	230000000000    	黑龙江省	黑龙江省	0
9	310000000000    	上海市	上海市	0
10	320000000000    	江苏省	江苏省	0
11	330000000000    	浙江省	浙江省	0
12	340000000000    	安徽省	安徽省	0
13	350000000000    	福建省	福建省	0
14	360000000000    	江西省	江西省	0
15	370000000000    	山东省	山东省	0
16	410000000000    	河南省	河南省	0
17	420000000000    	湖北省	湖北省	0
18	430000000000    	湖南省	湖南省	0
19	440000000000    	广东省	广东省	0
20	450000000000    	广西壮族自治区	广西壮族自治区	0
21	460000000000    	海南省	海南省	0
22	500000000000    	重庆市	重庆市	0
23	510000000000    	四川省	四川省	0
24	520000000000    	贵州省	贵州省	0
25	530000000000    	云南省	云南省	0
26	540000000000    	西藏自治区	西藏自治区	0
27	610000000000    	陕西省	陕西省	0
28	620000000000    	甘肃省	甘肃省	0
29	630000000000    	青海省	青海省	0
30	640000000000    	宁夏回族自治区	宁夏回族自治区	0
31	650000000000    	新疆维吾尔自治区	新疆维吾尔自治区	0
\.


--
-- Data for Name: recharges_202005; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202005 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
1	R20200512101010A3D9S	2020-05-12	1	temp_name1	500.0000	0	2020-05-12 14:58:20.056819+08	2020-05-12 14:58:20.056819+08	0	0			2020-05-12 14:58:20.056819+08	0	0	0		\N
2	R20200512101010A3D9S	2020-05-12	1	temp_name1	500.0000	0	2020-05-12 14:58:28.018808+08	2020-05-12 14:58:28.018808+08	0	0			2020-05-12 14:58:28.018808+08	0	0	0		\N
\.


--
-- Data for Name: recharges_202006; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202006 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202007; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202007 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202008; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202008 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202009; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202009 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202010; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202010 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202011; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202011 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202012; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202012 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202101; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202101 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202102; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202102 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202103; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202103 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202104; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202104 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202105; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202105 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202106; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202106 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202107; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202107 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202108; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202108 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202109; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202109 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202110; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202110 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202111; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202111 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: recharges_202112; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.recharges_202112 (id, bill_no, date, user_id, user_name, amount, is_first, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, pay_type, pay_bank_id, pay_receipt, reason, finished) FROM stdin;
\.


--
-- Data for Name: user_accounts_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_01 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
11	11	temp_name11	0.0000	0.0000	0.0000	0.0000	0.0000
19	19	temp_name19	0.0000	0.0000	0.0000	0.0000	0.0000
21	21	temp_name10	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_02 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
\.


--
-- Data for Name: user_accounts_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_03 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
4	4	temp_name4	0.0000	0.0000	0.0000	0.0000	0.0000
6	6	temp_name6	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_04 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
\.


--
-- Data for Name: user_accounts_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_05 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
8	8	temp_name8	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_06 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
13	13	temp_name13	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_07; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_07 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
7	7	temp_name7	0.0000	0.0000	0.0000	0.0000	0.0000
10	10	temp_name10	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_08; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_08 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
1	1	temp_name1	0.0000	0.0000	0.0000	0.0000	0.0000
16	16	temp_name16	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_09; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_09 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
3	3	temp_name3	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_10; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_10 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
2	2	temp_name2	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_11; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_11 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
15	15	temp_name15	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_12; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_12 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
12	12	temp_name12	0.0000	0.0000	0.0000	0.0000	0.0000
17	17	temp_name17	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_13; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_13 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
5	5	temp_name5	0.0000	0.0000	0.0000	0.0000	0.0000
9	9	temp_name9	0.0000	0.0000	0.0000	0.0000	0.0000
20	20	temp_name20	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_14; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_14 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
18	18	temp_name18	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_accounts_15; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_15 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
\.


--
-- Data for Name: user_accounts_16; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_accounts_16 (id, user_id, user_name, frozen, remain, total, total_in, total_out) FROM stdin;
14	14	temp_name14	0.0000	0.0000	0.0000	0.0000	0.0000
\.


--
-- Data for Name: user_cards_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_01 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_02 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_03 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_04 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_05 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_06 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_07; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_07 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_08; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_08 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_09; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_09 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_10; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_10 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_11; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_11 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_12; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_12 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_13; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_13 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_14; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_14 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_15; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_15 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_cards_16; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_cards_16 (id, user_id, user_name, province_code, city_code, district_code, bank_id, card_number, real_name, status, sort) FROM stdin;
\.


--
-- Data for Name: user_details_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_01 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
11	11	temp_name11	1971-01-01	2					
19	19	temp_name19	1971-01-01	2					
21	21	temp_name10	1971-01-01	2					
\.


--
-- Data for Name: user_details_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_02 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
\.


--
-- Data for Name: user_details_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_03 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
4	4	temp_name4	1971-01-01	2					
6	6	temp_name6	1971-01-01	2					
\.


--
-- Data for Name: user_details_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_04 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
\.


--
-- Data for Name: user_details_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_05 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
8	8	temp_name8	1971-01-01	2					
\.


--
-- Data for Name: user_details_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_06 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
13	13	temp_name13	1971-01-01	2					
\.


--
-- Data for Name: user_details_07; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_07 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
7	7	temp_name7	1971-01-01	2					
10	10	temp_name10	1971-01-01	2					
\.


--
-- Data for Name: user_details_08; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_08 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
1	1	temp_name1	1971-01-01	2					
16	16	temp_name16	1971-01-01	2					
\.


--
-- Data for Name: user_details_09; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_09 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
3	3	temp_name3	1971-01-01	2					
\.


--
-- Data for Name: user_details_10; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_10 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
2	2	temp_name2	1971-01-01	2					
\.


--
-- Data for Name: user_details_11; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_11 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
15	15	temp_name15	1971-01-01	2					
\.


--
-- Data for Name: user_details_12; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_12 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
12	12	temp_name12	1971-01-01	2					
17	17	temp_name17	1971-01-01	2					
\.


--
-- Data for Name: user_details_13; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_13 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
5	5	temp_name5	1971-01-01	2					
9	9	temp_name9	1971-01-01	2					
20	20	temp_name20	1971-01-01	2					
\.


--
-- Data for Name: user_details_14; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_14 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
18	18	temp_name18	1971-01-01	2					
\.


--
-- Data for Name: user_details_15; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_15 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
\.


--
-- Data for Name: user_details_16; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.user_details_16 (id, user_id, user_name, birth, gender, phone, photo, mail, address, remark) FROM stdin;
14	14	temp_name14	1971-01-01	2					
\.


--
-- Data for Name: users_01; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_01 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
11	temp_name11	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.029361+08	0	\N	2020-05-12 14:38:25.029361+08	2020-05-12 14:38:25.029361+08
19	temp_name19	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.917674+08	0	\N	2020-05-12 14:38:25.917674+08	2020-05-12 14:38:25.917674+08
21	temp_name10	                                	                                	1	2020-05-12 20:37:55.935551+08	0	\N	2020-05-12 20:37:55.935551+08	2020-05-12 20:37:55.935551+08
\.


--
-- Data for Name: users_02; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_02 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
\.


--
-- Data for Name: users_03; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_03 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
4	temp_name4	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.251772+08	0	\N	2020-05-12 14:38:24.251772+08	2020-05-12 14:38:24.251772+08
6	temp_name6	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.612765+08	0	\N	2020-05-12 14:38:24.612765+08	2020-05-12 14:38:24.612765+08
\.


--
-- Data for Name: users_04; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_04 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
\.


--
-- Data for Name: users_05; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_05 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
8	temp_name8	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.768551+08	0	\N	2020-05-12 14:38:24.768551+08	2020-05-12 14:38:24.768551+08
\.


--
-- Data for Name: users_06; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_06 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
13	temp_name13	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.310532+08	0	\N	2020-05-12 14:38:25.310532+08	2020-05-12 14:38:25.310532+08
\.


--
-- Data for Name: users_07; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_07 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
7	temp_name7	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.652713+08	0	\N	2020-05-12 14:38:24.652713+08	2020-05-12 14:38:24.652713+08
10	temp_name10	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.960534+08	0	\N	2020-05-12 14:38:24.960534+08	2020-05-12 14:38:24.960534+08
\.


--
-- Data for Name: users_08; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_08 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
16	temp_name16	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.525325+08	0	\N	2020-05-12 14:38:25.525325+08	2020-05-12 14:38:25.525325+08
1	temp_name1	e986d8fb3087d695faeffa35da76491f	6eb61bf70b91f340f50b034beb47af36	1	2020-05-19 19:52:34.997026+08	23	127.0.0.1	2020-05-12 14:38:23.938794+08	2020-05-19 19:52:34.997026+08
\.


--
-- Data for Name: users_09; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_09 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
3	temp_name3	0ab2fd0dd05b9f0d27aff70fc3dd6279	7492ab2870f9903b2b846c7ff8d62099	1	2020-06-26 16:06:46.022923+08	1	127.0.0.1	2020-05-12 14:38:24.141013+08	2020-06-26 16:06:46.022923+08
\.


--
-- Data for Name: users_10; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_10 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
2	temp_name2	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.020624+08	0	\N	2020-05-12 14:38:24.020624+08	2020-05-12 14:38:24.020624+08
\.


--
-- Data for Name: users_11; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_11 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
15	temp_name15	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.463149+08	0	\N	2020-05-12 14:38:25.463149+08	2020-05-12 14:38:25.463149+08
\.


--
-- Data for Name: users_12; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_12 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
12	temp_name12	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.204638+08	0	\N	2020-05-12 14:38:25.204638+08	2020-05-12 14:38:25.204638+08
17	temp_name17	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.688141+08	0	\N	2020-05-12 14:38:25.688141+08	2020-05-12 14:38:25.688141+08
\.


--
-- Data for Name: users_13; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_13 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
5	temp_name5	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.378898+08	0	\N	2020-05-12 14:38:24.378898+08	2020-05-12 14:38:24.378898+08
9	temp_name9	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:24.89702+08	0	\N	2020-05-12 14:38:24.89702+08	2020-05-12 14:38:24.89702+08
20	temp_name20	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.999007+08	0	\N	2020-05-12 14:38:25.999007+08	2020-05-12 14:38:25.999007+08
\.


--
-- Data for Name: users_14; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_14 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
18	temp_name18	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.798982+08	0	\N	2020-05-12 14:38:25.798982+08	2020-05-12 14:38:25.798982+08
\.


--
-- Data for Name: users_15; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_15 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
\.


--
-- Data for Name: users_16; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.users_16 (id, name, password, secret, status, last_login, login_count, last_ip, created, updated) FROM stdin;
14	temp_name14	200820e3227815ed1756a6b531e7e0d2	4af98ff496f55e3b7d31e5566b6f0483	1	2020-05-12 14:38:25.373113+08	0	\N	2020-05-12 14:38:25.373113+08	2020-05-12 14:38:25.373113+08
\.


--
-- Data for Name: withdraws_202005; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202005 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202006; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202006 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202007; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202007 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202008; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202008 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202009; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202009 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202010; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202010 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202011; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202011 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202012; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202012 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202101; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202101 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202102; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202102 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202103; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202103 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202104; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202104 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202105; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202105 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202106; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202106 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202107; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202107 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202108; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202108 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202109; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202109 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202110; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202110 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202111; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202111 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Data for Name: withdraws_202112; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.withdraws_202112 (id, bill_no, date, user_id, user_name, amount, created, updated, status, audit_admin_id, audit_admin_name, audit_remark, audited, reason, finished, bank_id, bank_name, real_name, card_id, card_number, fee) FROM stdin;
\.


--
-- Name: account_changes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.account_changes_id_seq', 1, false);


--
-- Name: admin_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.admin_logs_id_seq', 1, false);


--
-- Name: admin_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.admin_roles_id_seq', 1, true);


--
-- Name: admins_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.admins_id_seq', 3, true);


--
-- Name: banks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.banks_id_seq', 1, true);


--
-- Name: cities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.cities_id_seq', 1, false);


--
-- Name: menus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.menus_id_seq', 1, false);


--
-- Name: provinces_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.provinces_id_seq', 1, false);


--
-- Name: recharges_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.recharges_id_seq', 2, true);


--
-- Name: user_accounts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.user_accounts_id_seq', 21, true);


--
-- Name: user_cards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.user_cards_id_seq', 3, true);


--
-- Name: user_details_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.user_details_id_seq', 21, true);


--
-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.users_id_seq', 21, true);


--
-- Name: withdraws_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.withdraws_id_seq', 1, false);


--
-- Name: account_changes account_changes_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes
    ADD CONSTRAINT account_changes_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_01 account_changes_202005_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_01
    ADD CONSTRAINT account_changes_202005_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_02 account_changes_202005_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_02
    ADD CONSTRAINT account_changes_202005_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_03 account_changes_202005_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_03
    ADD CONSTRAINT account_changes_202005_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_04 account_changes_202005_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_04
    ADD CONSTRAINT account_changes_202005_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_05 account_changes_202005_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_05
    ADD CONSTRAINT account_changes_202005_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202005_06 account_changes_202005_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202005_06
    ADD CONSTRAINT account_changes_202005_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_01 account_changes_202006_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_01
    ADD CONSTRAINT account_changes_202006_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_02 account_changes_202006_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_02
    ADD CONSTRAINT account_changes_202006_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_03 account_changes_202006_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_03
    ADD CONSTRAINT account_changes_202006_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_04 account_changes_202006_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_04
    ADD CONSTRAINT account_changes_202006_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_05 account_changes_202006_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_05
    ADD CONSTRAINT account_changes_202006_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202006_06 account_changes_202006_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202006_06
    ADD CONSTRAINT account_changes_202006_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_01 account_changes_202007_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_01
    ADD CONSTRAINT account_changes_202007_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_02 account_changes_202007_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_02
    ADD CONSTRAINT account_changes_202007_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_03 account_changes_202007_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_03
    ADD CONSTRAINT account_changes_202007_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_04 account_changes_202007_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_04
    ADD CONSTRAINT account_changes_202007_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_05 account_changes_202007_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_05
    ADD CONSTRAINT account_changes_202007_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202007_06 account_changes_202007_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202007_06
    ADD CONSTRAINT account_changes_202007_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_01 account_changes_202008_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_01
    ADD CONSTRAINT account_changes_202008_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_02 account_changes_202008_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_02
    ADD CONSTRAINT account_changes_202008_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_03 account_changes_202008_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_03
    ADD CONSTRAINT account_changes_202008_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_04 account_changes_202008_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_04
    ADD CONSTRAINT account_changes_202008_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_05 account_changes_202008_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_05
    ADD CONSTRAINT account_changes_202008_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202008_06 account_changes_202008_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202008_06
    ADD CONSTRAINT account_changes_202008_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_01 account_changes_202009_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_01
    ADD CONSTRAINT account_changes_202009_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_02 account_changes_202009_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_02
    ADD CONSTRAINT account_changes_202009_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_03 account_changes_202009_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_03
    ADD CONSTRAINT account_changes_202009_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_04 account_changes_202009_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_04
    ADD CONSTRAINT account_changes_202009_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_05 account_changes_202009_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_05
    ADD CONSTRAINT account_changes_202009_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202009_06 account_changes_202009_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202009_06
    ADD CONSTRAINT account_changes_202009_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_01 account_changes_202010_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_01
    ADD CONSTRAINT account_changes_202010_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_02 account_changes_202010_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_02
    ADD CONSTRAINT account_changes_202010_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_03 account_changes_202010_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_03
    ADD CONSTRAINT account_changes_202010_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_04 account_changes_202010_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_04
    ADD CONSTRAINT account_changes_202010_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_05 account_changes_202010_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_05
    ADD CONSTRAINT account_changes_202010_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202010_06 account_changes_202010_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202010_06
    ADD CONSTRAINT account_changes_202010_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_01 account_changes_202011_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_01
    ADD CONSTRAINT account_changes_202011_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_02 account_changes_202011_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_02
    ADD CONSTRAINT account_changes_202011_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_03 account_changes_202011_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_03
    ADD CONSTRAINT account_changes_202011_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_04 account_changes_202011_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_04
    ADD CONSTRAINT account_changes_202011_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_05 account_changes_202011_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_05
    ADD CONSTRAINT account_changes_202011_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202011_06 account_changes_202011_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202011_06
    ADD CONSTRAINT account_changes_202011_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_01 account_changes_202012_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_01
    ADD CONSTRAINT account_changes_202012_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_02 account_changes_202012_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_02
    ADD CONSTRAINT account_changes_202012_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_03 account_changes_202012_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_03
    ADD CONSTRAINT account_changes_202012_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_04 account_changes_202012_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_04
    ADD CONSTRAINT account_changes_202012_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_05 account_changes_202012_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_05
    ADD CONSTRAINT account_changes_202012_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202012_06 account_changes_202012_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202012_06
    ADD CONSTRAINT account_changes_202012_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_01 account_changes_202101_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_01
    ADD CONSTRAINT account_changes_202101_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_02 account_changes_202101_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_02
    ADD CONSTRAINT account_changes_202101_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_03 account_changes_202101_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_03
    ADD CONSTRAINT account_changes_202101_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_04 account_changes_202101_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_04
    ADD CONSTRAINT account_changes_202101_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_05 account_changes_202101_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_05
    ADD CONSTRAINT account_changes_202101_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202101_06 account_changes_202101_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202101_06
    ADD CONSTRAINT account_changes_202101_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_01 account_changes_202102_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_01
    ADD CONSTRAINT account_changes_202102_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_02 account_changes_202102_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_02
    ADD CONSTRAINT account_changes_202102_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_03 account_changes_202102_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_03
    ADD CONSTRAINT account_changes_202102_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_04 account_changes_202102_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_04
    ADD CONSTRAINT account_changes_202102_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_05 account_changes_202102_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_05
    ADD CONSTRAINT account_changes_202102_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202102_06 account_changes_202102_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202102_06
    ADD CONSTRAINT account_changes_202102_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_01 account_changes_202103_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_01
    ADD CONSTRAINT account_changes_202103_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_02 account_changes_202103_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_02
    ADD CONSTRAINT account_changes_202103_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_03 account_changes_202103_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_03
    ADD CONSTRAINT account_changes_202103_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_04 account_changes_202103_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_04
    ADD CONSTRAINT account_changes_202103_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_05 account_changes_202103_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_05
    ADD CONSTRAINT account_changes_202103_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202103_06 account_changes_202103_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202103_06
    ADD CONSTRAINT account_changes_202103_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_01 account_changes_202104_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_01
    ADD CONSTRAINT account_changes_202104_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_02 account_changes_202104_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_02
    ADD CONSTRAINT account_changes_202104_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_03 account_changes_202104_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_03
    ADD CONSTRAINT account_changes_202104_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_04 account_changes_202104_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_04
    ADD CONSTRAINT account_changes_202104_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_05 account_changes_202104_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_05
    ADD CONSTRAINT account_changes_202104_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202104_06 account_changes_202104_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202104_06
    ADD CONSTRAINT account_changes_202104_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_01 account_changes_202105_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_01
    ADD CONSTRAINT account_changes_202105_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_02 account_changes_202105_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_02
    ADD CONSTRAINT account_changes_202105_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_03 account_changes_202105_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_03
    ADD CONSTRAINT account_changes_202105_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_04 account_changes_202105_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_04
    ADD CONSTRAINT account_changes_202105_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_05 account_changes_202105_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_05
    ADD CONSTRAINT account_changes_202105_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202105_06 account_changes_202105_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202105_06
    ADD CONSTRAINT account_changes_202105_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_01 account_changes_202106_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_01
    ADD CONSTRAINT account_changes_202106_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_02 account_changes_202106_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_02
    ADD CONSTRAINT account_changes_202106_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_03 account_changes_202106_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_03
    ADD CONSTRAINT account_changes_202106_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_04 account_changes_202106_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_04
    ADD CONSTRAINT account_changes_202106_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_05 account_changes_202106_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_05
    ADD CONSTRAINT account_changes_202106_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202106_06 account_changes_202106_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202106_06
    ADD CONSTRAINT account_changes_202106_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_01 account_changes_202107_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_01
    ADD CONSTRAINT account_changes_202107_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_02 account_changes_202107_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_02
    ADD CONSTRAINT account_changes_202107_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_03 account_changes_202107_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_03
    ADD CONSTRAINT account_changes_202107_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_04 account_changes_202107_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_04
    ADD CONSTRAINT account_changes_202107_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_05 account_changes_202107_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_05
    ADD CONSTRAINT account_changes_202107_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202107_06 account_changes_202107_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202107_06
    ADD CONSTRAINT account_changes_202107_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_01 account_changes_202108_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_01
    ADD CONSTRAINT account_changes_202108_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_02 account_changes_202108_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_02
    ADD CONSTRAINT account_changes_202108_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_03 account_changes_202108_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_03
    ADD CONSTRAINT account_changes_202108_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_04 account_changes_202108_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_04
    ADD CONSTRAINT account_changes_202108_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_05 account_changes_202108_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_05
    ADD CONSTRAINT account_changes_202108_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202108_06 account_changes_202108_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202108_06
    ADD CONSTRAINT account_changes_202108_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_01 account_changes_202109_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_01
    ADD CONSTRAINT account_changes_202109_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_02 account_changes_202109_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_02
    ADD CONSTRAINT account_changes_202109_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_03 account_changes_202109_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_03
    ADD CONSTRAINT account_changes_202109_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_04 account_changes_202109_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_04
    ADD CONSTRAINT account_changes_202109_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_05 account_changes_202109_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_05
    ADD CONSTRAINT account_changes_202109_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202109_06 account_changes_202109_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202109_06
    ADD CONSTRAINT account_changes_202109_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_01 account_changes_202110_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_01
    ADD CONSTRAINT account_changes_202110_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_02 account_changes_202110_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_02
    ADD CONSTRAINT account_changes_202110_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_03 account_changes_202110_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_03
    ADD CONSTRAINT account_changes_202110_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_04 account_changes_202110_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_04
    ADD CONSTRAINT account_changes_202110_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_05 account_changes_202110_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_05
    ADD CONSTRAINT account_changes_202110_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202110_06 account_changes_202110_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202110_06
    ADD CONSTRAINT account_changes_202110_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_01 account_changes_202111_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_01
    ADD CONSTRAINT account_changes_202111_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_02 account_changes_202111_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_02
    ADD CONSTRAINT account_changes_202111_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_03 account_changes_202111_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_03
    ADD CONSTRAINT account_changes_202111_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_04 account_changes_202111_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_04
    ADD CONSTRAINT account_changes_202111_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_05 account_changes_202111_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_05
    ADD CONSTRAINT account_changes_202111_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202111_06 account_changes_202111_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202111_06
    ADD CONSTRAINT account_changes_202111_06_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_01 account_changes_202112_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_01
    ADD CONSTRAINT account_changes_202112_01_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_02 account_changes_202112_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_02
    ADD CONSTRAINT account_changes_202112_02_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_03 account_changes_202112_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_03
    ADD CONSTRAINT account_changes_202112_03_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_04 account_changes_202112_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_04
    ADD CONSTRAINT account_changes_202112_04_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_05 account_changes_202112_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_05
    ADD CONSTRAINT account_changes_202112_05_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_202112_06 account_changes_202112_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.account_changes_202112_06
    ADD CONSTRAINT account_changes_202112_06_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs admin_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs
    ADD CONSTRAINT admin_logs_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202005 admin_logs_202005_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202005
    ADD CONSTRAINT admin_logs_202005_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202006 admin_logs_202006_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202006
    ADD CONSTRAINT admin_logs_202006_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202007 admin_logs_202007_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202007
    ADD CONSTRAINT admin_logs_202007_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202008 admin_logs_202008_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202008
    ADD CONSTRAINT admin_logs_202008_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202009 admin_logs_202009_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202009
    ADD CONSTRAINT admin_logs_202009_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202010 admin_logs_202010_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202010
    ADD CONSTRAINT admin_logs_202010_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202011 admin_logs_202011_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202011
    ADD CONSTRAINT admin_logs_202011_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202012 admin_logs_202012_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202012
    ADD CONSTRAINT admin_logs_202012_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202101 admin_logs_202101_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202101
    ADD CONSTRAINT admin_logs_202101_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202102 admin_logs_202102_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202102
    ADD CONSTRAINT admin_logs_202102_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202103 admin_logs_202103_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202103
    ADD CONSTRAINT admin_logs_202103_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202104 admin_logs_202104_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202104
    ADD CONSTRAINT admin_logs_202104_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202105 admin_logs_202105_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202105
    ADD CONSTRAINT admin_logs_202105_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202106 admin_logs_202106_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202106
    ADD CONSTRAINT admin_logs_202106_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202107 admin_logs_202107_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202107
    ADD CONSTRAINT admin_logs_202107_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202108 admin_logs_202108_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202108
    ADD CONSTRAINT admin_logs_202108_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202109 admin_logs_202109_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202109
    ADD CONSTRAINT admin_logs_202109_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202110 admin_logs_202110_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202110
    ADD CONSTRAINT admin_logs_202110_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202111 admin_logs_202111_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202111
    ADD CONSTRAINT admin_logs_202111_pkey PRIMARY KEY (id, date);


--
-- Name: admin_logs_202112 admin_logs_202112_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_logs_202112
    ADD CONSTRAINT admin_logs_202112_pkey PRIMARY KEY (id, date);


--
-- Name: admin_roles admin_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admin_roles
    ADD CONSTRAINT admin_roles_pkey PRIMARY KEY (id);


--
-- Name: admins admins_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admins
    ADD CONSTRAINT admins_pkey PRIMARY KEY (id);


--
-- Name: banks banks_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.banks
    ADD CONSTRAINT banks_pkey PRIMARY KEY (id);


--
-- Name: cities cities_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.cities
    ADD CONSTRAINT cities_pkey PRIMARY KEY (id);


--
-- Name: menus menus_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.menus
    ADD CONSTRAINT menus_pkey PRIMARY KEY (id);


--
-- Name: provinces provinces_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.provinces
    ADD CONSTRAINT provinces_pkey PRIMARY KEY (id);


--
-- Name: recharges recharges_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges
    ADD CONSTRAINT recharges_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202005 recharges_202005_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202005
    ADD CONSTRAINT recharges_202005_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202006 recharges_202006_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202006
    ADD CONSTRAINT recharges_202006_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202007 recharges_202007_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202007
    ADD CONSTRAINT recharges_202007_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202008 recharges_202008_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202008
    ADD CONSTRAINT recharges_202008_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202009 recharges_202009_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202009
    ADD CONSTRAINT recharges_202009_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202010 recharges_202010_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202010
    ADD CONSTRAINT recharges_202010_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202011 recharges_202011_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202011
    ADD CONSTRAINT recharges_202011_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202012 recharges_202012_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202012
    ADD CONSTRAINT recharges_202012_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202101 recharges_202101_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202101
    ADD CONSTRAINT recharges_202101_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202102 recharges_202102_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202102
    ADD CONSTRAINT recharges_202102_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202103 recharges_202103_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202103
    ADD CONSTRAINT recharges_202103_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202104 recharges_202104_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202104
    ADD CONSTRAINT recharges_202104_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202105 recharges_202105_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202105
    ADD CONSTRAINT recharges_202105_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202106 recharges_202106_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202106
    ADD CONSTRAINT recharges_202106_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202107 recharges_202107_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202107
    ADD CONSTRAINT recharges_202107_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202108 recharges_202108_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202108
    ADD CONSTRAINT recharges_202108_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202109 recharges_202109_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202109
    ADD CONSTRAINT recharges_202109_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202110 recharges_202110_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202110
    ADD CONSTRAINT recharges_202110_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202111 recharges_202111_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202111
    ADD CONSTRAINT recharges_202111_pkey PRIMARY KEY (id, date);


--
-- Name: recharges_202112 recharges_202112_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.recharges_202112
    ADD CONSTRAINT recharges_202112_pkey PRIMARY KEY (id, date);


--
-- Name: user_accounts user_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts
    ADD CONSTRAINT user_accounts_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_01 user_accounts_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_01
    ADD CONSTRAINT user_accounts_01_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_02 user_accounts_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_02
    ADD CONSTRAINT user_accounts_02_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_03 user_accounts_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_03
    ADD CONSTRAINT user_accounts_03_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_04 user_accounts_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_04
    ADD CONSTRAINT user_accounts_04_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_05 user_accounts_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_05
    ADD CONSTRAINT user_accounts_05_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_06 user_accounts_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_06
    ADD CONSTRAINT user_accounts_06_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_07 user_accounts_07_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_07
    ADD CONSTRAINT user_accounts_07_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_08 user_accounts_08_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_08
    ADD CONSTRAINT user_accounts_08_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_09 user_accounts_09_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_09
    ADD CONSTRAINT user_accounts_09_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_10 user_accounts_10_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_10
    ADD CONSTRAINT user_accounts_10_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_11 user_accounts_11_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_11
    ADD CONSTRAINT user_accounts_11_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_12 user_accounts_12_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_12
    ADD CONSTRAINT user_accounts_12_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_13 user_accounts_13_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_13
    ADD CONSTRAINT user_accounts_13_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_14 user_accounts_14_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_14
    ADD CONSTRAINT user_accounts_14_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_15 user_accounts_15_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_15
    ADD CONSTRAINT user_accounts_15_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_accounts_16 user_accounts_16_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_accounts_16
    ADD CONSTRAINT user_accounts_16_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards user_cards_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards
    ADD CONSTRAINT user_cards_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_01 user_cards_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_01
    ADD CONSTRAINT user_cards_01_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_02 user_cards_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_02
    ADD CONSTRAINT user_cards_02_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_03 user_cards_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_03
    ADD CONSTRAINT user_cards_03_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_04 user_cards_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_04
    ADD CONSTRAINT user_cards_04_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_05 user_cards_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_05
    ADD CONSTRAINT user_cards_05_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_06 user_cards_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_06
    ADD CONSTRAINT user_cards_06_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_07 user_cards_07_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_07
    ADD CONSTRAINT user_cards_07_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_08 user_cards_08_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_08
    ADD CONSTRAINT user_cards_08_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_09 user_cards_09_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_09
    ADD CONSTRAINT user_cards_09_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_10 user_cards_10_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_10
    ADD CONSTRAINT user_cards_10_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_11 user_cards_11_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_11
    ADD CONSTRAINT user_cards_11_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_12 user_cards_12_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_12
    ADD CONSTRAINT user_cards_12_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_13 user_cards_13_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_13
    ADD CONSTRAINT user_cards_13_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_14 user_cards_14_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_14
    ADD CONSTRAINT user_cards_14_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_15 user_cards_15_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_15
    ADD CONSTRAINT user_cards_15_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_cards_16 user_cards_16_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_cards_16
    ADD CONSTRAINT user_cards_16_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details user_details_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details
    ADD CONSTRAINT user_details_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_01 user_details_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_01
    ADD CONSTRAINT user_details_01_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_02 user_details_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_02
    ADD CONSTRAINT user_details_02_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_03 user_details_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_03
    ADD CONSTRAINT user_details_03_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_04 user_details_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_04
    ADD CONSTRAINT user_details_04_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_05 user_details_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_05
    ADD CONSTRAINT user_details_05_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_06 user_details_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_06
    ADD CONSTRAINT user_details_06_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_07 user_details_07_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_07
    ADD CONSTRAINT user_details_07_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_08 user_details_08_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_08
    ADD CONSTRAINT user_details_08_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_09 user_details_09_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_09
    ADD CONSTRAINT user_details_09_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_10 user_details_10_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_10
    ADD CONSTRAINT user_details_10_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_11 user_details_11_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_11
    ADD CONSTRAINT user_details_11_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_12 user_details_12_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_12
    ADD CONSTRAINT user_details_12_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_13 user_details_13_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_13
    ADD CONSTRAINT user_details_13_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_14 user_details_14_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_14
    ADD CONSTRAINT user_details_14_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_15 user_details_15_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_15
    ADD CONSTRAINT user_details_15_pkey PRIMARY KEY (id, user_id);


--
-- Name: user_details_16 user_details_16_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.user_details_16
    ADD CONSTRAINT user_details_16_pkey PRIMARY KEY (id, user_id);


--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT users_pkey PRIMARY KEY (id);


--
-- Name: users_01 users_01_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_01
    ADD CONSTRAINT users_01_pkey PRIMARY KEY (id);


--
-- Name: users_02 users_02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_02
    ADD CONSTRAINT users_02_pkey PRIMARY KEY (id);


--
-- Name: users_03 users_03_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_03
    ADD CONSTRAINT users_03_pkey PRIMARY KEY (id);


--
-- Name: users_04 users_04_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_04
    ADD CONSTRAINT users_04_pkey PRIMARY KEY (id);


--
-- Name: users_05 users_05_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_05
    ADD CONSTRAINT users_05_pkey PRIMARY KEY (id);


--
-- Name: users_06 users_06_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_06
    ADD CONSTRAINT users_06_pkey PRIMARY KEY (id);


--
-- Name: users_07 users_07_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_07
    ADD CONSTRAINT users_07_pkey PRIMARY KEY (id);


--
-- Name: users_08 users_08_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_08
    ADD CONSTRAINT users_08_pkey PRIMARY KEY (id);


--
-- Name: users_09 users_09_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_09
    ADD CONSTRAINT users_09_pkey PRIMARY KEY (id);


--
-- Name: users_10 users_10_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_10
    ADD CONSTRAINT users_10_pkey PRIMARY KEY (id);


--
-- Name: users_11 users_11_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_11
    ADD CONSTRAINT users_11_pkey PRIMARY KEY (id);


--
-- Name: users_12 users_12_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_12
    ADD CONSTRAINT users_12_pkey PRIMARY KEY (id);


--
-- Name: users_13 users_13_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_13
    ADD CONSTRAINT users_13_pkey PRIMARY KEY (id);


--
-- Name: users_14 users_14_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_14
    ADD CONSTRAINT users_14_pkey PRIMARY KEY (id);


--
-- Name: users_15 users_15_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_15
    ADD CONSTRAINT users_15_pkey PRIMARY KEY (id);


--
-- Name: users_16 users_16_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.users_16
    ADD CONSTRAINT users_16_pkey PRIMARY KEY (id);


--
-- Name: withdraws withdraws_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws
    ADD CONSTRAINT withdraws_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202005 withdraws_202005_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202005
    ADD CONSTRAINT withdraws_202005_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202006 withdraws_202006_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202006
    ADD CONSTRAINT withdraws_202006_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202007 withdraws_202007_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202007
    ADD CONSTRAINT withdraws_202007_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202008 withdraws_202008_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202008
    ADD CONSTRAINT withdraws_202008_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202009 withdraws_202009_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202009
    ADD CONSTRAINT withdraws_202009_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202010 withdraws_202010_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202010
    ADD CONSTRAINT withdraws_202010_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202011 withdraws_202011_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202011
    ADD CONSTRAINT withdraws_202011_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202012 withdraws_202012_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202012
    ADD CONSTRAINT withdraws_202012_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202101 withdraws_202101_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202101
    ADD CONSTRAINT withdraws_202101_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202102 withdraws_202102_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202102
    ADD CONSTRAINT withdraws_202102_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202103 withdraws_202103_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202103
    ADD CONSTRAINT withdraws_202103_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202104 withdraws_202104_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202104
    ADD CONSTRAINT withdraws_202104_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202105 withdraws_202105_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202105
    ADD CONSTRAINT withdraws_202105_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202106 withdraws_202106_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202106
    ADD CONSTRAINT withdraws_202106_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202107 withdraws_202107_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202107
    ADD CONSTRAINT withdraws_202107_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202108 withdraws_202108_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202108
    ADD CONSTRAINT withdraws_202108_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202109 withdraws_202109_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202109
    ADD CONSTRAINT withdraws_202109_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202110 withdraws_202110_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202110
    ADD CONSTRAINT withdraws_202110_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202111 withdraws_202111_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202111
    ADD CONSTRAINT withdraws_202111_pkey PRIMARY KEY (id, date);


--
-- Name: withdraws_202112 withdraws_202112_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.withdraws_202112
    ADD CONSTRAINT withdraws_202112_pkey PRIMARY KEY (id, date);


--
-- Name: account_changes_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_created_idx ON ONLY public.account_changes USING btree (created);


--
-- Name: account_changes_202005_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_01_created_idx ON public.account_changes_202005_01 USING btree (created);


--
-- Name: account_changes_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_date_idx ON ONLY public.account_changes USING btree (date);


--
-- Name: account_changes_202005_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_01_date_idx ON public.account_changes_202005_01 USING btree (date);


--
-- Name: account_changes_202005_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_02_created_idx ON public.account_changes_202005_02 USING btree (created);


--
-- Name: account_changes_202005_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_02_date_idx ON public.account_changes_202005_02 USING btree (date);


--
-- Name: account_changes_202005_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_03_created_idx ON public.account_changes_202005_03 USING btree (created);


--
-- Name: account_changes_202005_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_03_date_idx ON public.account_changes_202005_03 USING btree (date);


--
-- Name: account_changes_202005_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_04_created_idx ON public.account_changes_202005_04 USING btree (created);


--
-- Name: account_changes_202005_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_04_date_idx ON public.account_changes_202005_04 USING btree (date);


--
-- Name: account_changes_202005_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_05_created_idx ON public.account_changes_202005_05 USING btree (created);


--
-- Name: account_changes_202005_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_05_date_idx ON public.account_changes_202005_05 USING btree (date);


--
-- Name: account_changes_202005_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_06_created_idx ON public.account_changes_202005_06 USING btree (created);


--
-- Name: account_changes_202005_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202005_06_date_idx ON public.account_changes_202005_06 USING btree (date);


--
-- Name: account_changes_202006_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_01_created_idx ON public.account_changes_202006_01 USING btree (created);


--
-- Name: account_changes_202006_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_01_date_idx ON public.account_changes_202006_01 USING btree (date);


--
-- Name: account_changes_202006_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_02_created_idx ON public.account_changes_202006_02 USING btree (created);


--
-- Name: account_changes_202006_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_02_date_idx ON public.account_changes_202006_02 USING btree (date);


--
-- Name: account_changes_202006_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_03_created_idx ON public.account_changes_202006_03 USING btree (created);


--
-- Name: account_changes_202006_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_03_date_idx ON public.account_changes_202006_03 USING btree (date);


--
-- Name: account_changes_202006_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_04_created_idx ON public.account_changes_202006_04 USING btree (created);


--
-- Name: account_changes_202006_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_04_date_idx ON public.account_changes_202006_04 USING btree (date);


--
-- Name: account_changes_202006_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_05_created_idx ON public.account_changes_202006_05 USING btree (created);


--
-- Name: account_changes_202006_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_05_date_idx ON public.account_changes_202006_05 USING btree (date);


--
-- Name: account_changes_202006_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_06_created_idx ON public.account_changes_202006_06 USING btree (created);


--
-- Name: account_changes_202006_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202006_06_date_idx ON public.account_changes_202006_06 USING btree (date);


--
-- Name: account_changes_202007_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_01_created_idx ON public.account_changes_202007_01 USING btree (created);


--
-- Name: account_changes_202007_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_01_date_idx ON public.account_changes_202007_01 USING btree (date);


--
-- Name: account_changes_202007_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_02_created_idx ON public.account_changes_202007_02 USING btree (created);


--
-- Name: account_changes_202007_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_02_date_idx ON public.account_changes_202007_02 USING btree (date);


--
-- Name: account_changes_202007_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_03_created_idx ON public.account_changes_202007_03 USING btree (created);


--
-- Name: account_changes_202007_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_03_date_idx ON public.account_changes_202007_03 USING btree (date);


--
-- Name: account_changes_202007_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_04_created_idx ON public.account_changes_202007_04 USING btree (created);


--
-- Name: account_changes_202007_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_04_date_idx ON public.account_changes_202007_04 USING btree (date);


--
-- Name: account_changes_202007_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_05_created_idx ON public.account_changes_202007_05 USING btree (created);


--
-- Name: account_changes_202007_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_05_date_idx ON public.account_changes_202007_05 USING btree (date);


--
-- Name: account_changes_202007_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_06_created_idx ON public.account_changes_202007_06 USING btree (created);


--
-- Name: account_changes_202007_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202007_06_date_idx ON public.account_changes_202007_06 USING btree (date);


--
-- Name: account_changes_202008_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_01_created_idx ON public.account_changes_202008_01 USING btree (created);


--
-- Name: account_changes_202008_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_01_date_idx ON public.account_changes_202008_01 USING btree (date);


--
-- Name: account_changes_202008_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_02_created_idx ON public.account_changes_202008_02 USING btree (created);


--
-- Name: account_changes_202008_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_02_date_idx ON public.account_changes_202008_02 USING btree (date);


--
-- Name: account_changes_202008_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_03_created_idx ON public.account_changes_202008_03 USING btree (created);


--
-- Name: account_changes_202008_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_03_date_idx ON public.account_changes_202008_03 USING btree (date);


--
-- Name: account_changes_202008_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_04_created_idx ON public.account_changes_202008_04 USING btree (created);


--
-- Name: account_changes_202008_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_04_date_idx ON public.account_changes_202008_04 USING btree (date);


--
-- Name: account_changes_202008_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_05_created_idx ON public.account_changes_202008_05 USING btree (created);


--
-- Name: account_changes_202008_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_05_date_idx ON public.account_changes_202008_05 USING btree (date);


--
-- Name: account_changes_202008_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_06_created_idx ON public.account_changes_202008_06 USING btree (created);


--
-- Name: account_changes_202008_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202008_06_date_idx ON public.account_changes_202008_06 USING btree (date);


--
-- Name: account_changes_202009_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_01_created_idx ON public.account_changes_202009_01 USING btree (created);


--
-- Name: account_changes_202009_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_01_date_idx ON public.account_changes_202009_01 USING btree (date);


--
-- Name: account_changes_202009_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_02_created_idx ON public.account_changes_202009_02 USING btree (created);


--
-- Name: account_changes_202009_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_02_date_idx ON public.account_changes_202009_02 USING btree (date);


--
-- Name: account_changes_202009_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_03_created_idx ON public.account_changes_202009_03 USING btree (created);


--
-- Name: account_changes_202009_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_03_date_idx ON public.account_changes_202009_03 USING btree (date);


--
-- Name: account_changes_202009_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_04_created_idx ON public.account_changes_202009_04 USING btree (created);


--
-- Name: account_changes_202009_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_04_date_idx ON public.account_changes_202009_04 USING btree (date);


--
-- Name: account_changes_202009_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_05_created_idx ON public.account_changes_202009_05 USING btree (created);


--
-- Name: account_changes_202009_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_05_date_idx ON public.account_changes_202009_05 USING btree (date);


--
-- Name: account_changes_202009_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_06_created_idx ON public.account_changes_202009_06 USING btree (created);


--
-- Name: account_changes_202009_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202009_06_date_idx ON public.account_changes_202009_06 USING btree (date);


--
-- Name: account_changes_202010_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_01_created_idx ON public.account_changes_202010_01 USING btree (created);


--
-- Name: account_changes_202010_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_01_date_idx ON public.account_changes_202010_01 USING btree (date);


--
-- Name: account_changes_202010_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_02_created_idx ON public.account_changes_202010_02 USING btree (created);


--
-- Name: account_changes_202010_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_02_date_idx ON public.account_changes_202010_02 USING btree (date);


--
-- Name: account_changes_202010_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_03_created_idx ON public.account_changes_202010_03 USING btree (created);


--
-- Name: account_changes_202010_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_03_date_idx ON public.account_changes_202010_03 USING btree (date);


--
-- Name: account_changes_202010_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_04_created_idx ON public.account_changes_202010_04 USING btree (created);


--
-- Name: account_changes_202010_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_04_date_idx ON public.account_changes_202010_04 USING btree (date);


--
-- Name: account_changes_202010_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_05_created_idx ON public.account_changes_202010_05 USING btree (created);


--
-- Name: account_changes_202010_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_05_date_idx ON public.account_changes_202010_05 USING btree (date);


--
-- Name: account_changes_202010_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_06_created_idx ON public.account_changes_202010_06 USING btree (created);


--
-- Name: account_changes_202010_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202010_06_date_idx ON public.account_changes_202010_06 USING btree (date);


--
-- Name: account_changes_202011_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_01_created_idx ON public.account_changes_202011_01 USING btree (created);


--
-- Name: account_changes_202011_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_01_date_idx ON public.account_changes_202011_01 USING btree (date);


--
-- Name: account_changes_202011_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_02_created_idx ON public.account_changes_202011_02 USING btree (created);


--
-- Name: account_changes_202011_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_02_date_idx ON public.account_changes_202011_02 USING btree (date);


--
-- Name: account_changes_202011_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_03_created_idx ON public.account_changes_202011_03 USING btree (created);


--
-- Name: account_changes_202011_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_03_date_idx ON public.account_changes_202011_03 USING btree (date);


--
-- Name: account_changes_202011_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_04_created_idx ON public.account_changes_202011_04 USING btree (created);


--
-- Name: account_changes_202011_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_04_date_idx ON public.account_changes_202011_04 USING btree (date);


--
-- Name: account_changes_202011_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_05_created_idx ON public.account_changes_202011_05 USING btree (created);


--
-- Name: account_changes_202011_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_05_date_idx ON public.account_changes_202011_05 USING btree (date);


--
-- Name: account_changes_202011_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_06_created_idx ON public.account_changes_202011_06 USING btree (created);


--
-- Name: account_changes_202011_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202011_06_date_idx ON public.account_changes_202011_06 USING btree (date);


--
-- Name: account_changes_202012_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_01_created_idx ON public.account_changes_202012_01 USING btree (created);


--
-- Name: account_changes_202012_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_01_date_idx ON public.account_changes_202012_01 USING btree (date);


--
-- Name: account_changes_202012_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_02_created_idx ON public.account_changes_202012_02 USING btree (created);


--
-- Name: account_changes_202012_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_02_date_idx ON public.account_changes_202012_02 USING btree (date);


--
-- Name: account_changes_202012_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_03_created_idx ON public.account_changes_202012_03 USING btree (created);


--
-- Name: account_changes_202012_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_03_date_idx ON public.account_changes_202012_03 USING btree (date);


--
-- Name: account_changes_202012_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_04_created_idx ON public.account_changes_202012_04 USING btree (created);


--
-- Name: account_changes_202012_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_04_date_idx ON public.account_changes_202012_04 USING btree (date);


--
-- Name: account_changes_202012_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_05_created_idx ON public.account_changes_202012_05 USING btree (created);


--
-- Name: account_changes_202012_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_05_date_idx ON public.account_changes_202012_05 USING btree (date);


--
-- Name: account_changes_202012_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_06_created_idx ON public.account_changes_202012_06 USING btree (created);


--
-- Name: account_changes_202012_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202012_06_date_idx ON public.account_changes_202012_06 USING btree (date);


--
-- Name: account_changes_202101_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_01_created_idx ON public.account_changes_202101_01 USING btree (created);


--
-- Name: account_changes_202101_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_01_date_idx ON public.account_changes_202101_01 USING btree (date);


--
-- Name: account_changes_202101_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_02_created_idx ON public.account_changes_202101_02 USING btree (created);


--
-- Name: account_changes_202101_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_02_date_idx ON public.account_changes_202101_02 USING btree (date);


--
-- Name: account_changes_202101_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_03_created_idx ON public.account_changes_202101_03 USING btree (created);


--
-- Name: account_changes_202101_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_03_date_idx ON public.account_changes_202101_03 USING btree (date);


--
-- Name: account_changes_202101_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_04_created_idx ON public.account_changes_202101_04 USING btree (created);


--
-- Name: account_changes_202101_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_04_date_idx ON public.account_changes_202101_04 USING btree (date);


--
-- Name: account_changes_202101_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_05_created_idx ON public.account_changes_202101_05 USING btree (created);


--
-- Name: account_changes_202101_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_05_date_idx ON public.account_changes_202101_05 USING btree (date);


--
-- Name: account_changes_202101_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_06_created_idx ON public.account_changes_202101_06 USING btree (created);


--
-- Name: account_changes_202101_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202101_06_date_idx ON public.account_changes_202101_06 USING btree (date);


--
-- Name: account_changes_202102_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_01_created_idx ON public.account_changes_202102_01 USING btree (created);


--
-- Name: account_changes_202102_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_01_date_idx ON public.account_changes_202102_01 USING btree (date);


--
-- Name: account_changes_202102_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_02_created_idx ON public.account_changes_202102_02 USING btree (created);


--
-- Name: account_changes_202102_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_02_date_idx ON public.account_changes_202102_02 USING btree (date);


--
-- Name: account_changes_202102_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_03_created_idx ON public.account_changes_202102_03 USING btree (created);


--
-- Name: account_changes_202102_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_03_date_idx ON public.account_changes_202102_03 USING btree (date);


--
-- Name: account_changes_202102_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_04_created_idx ON public.account_changes_202102_04 USING btree (created);


--
-- Name: account_changes_202102_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_04_date_idx ON public.account_changes_202102_04 USING btree (date);


--
-- Name: account_changes_202102_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_05_created_idx ON public.account_changes_202102_05 USING btree (created);


--
-- Name: account_changes_202102_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_05_date_idx ON public.account_changes_202102_05 USING btree (date);


--
-- Name: account_changes_202102_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_06_created_idx ON public.account_changes_202102_06 USING btree (created);


--
-- Name: account_changes_202102_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202102_06_date_idx ON public.account_changes_202102_06 USING btree (date);


--
-- Name: account_changes_202103_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_01_created_idx ON public.account_changes_202103_01 USING btree (created);


--
-- Name: account_changes_202103_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_01_date_idx ON public.account_changes_202103_01 USING btree (date);


--
-- Name: account_changes_202103_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_02_created_idx ON public.account_changes_202103_02 USING btree (created);


--
-- Name: account_changes_202103_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_02_date_idx ON public.account_changes_202103_02 USING btree (date);


--
-- Name: account_changes_202103_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_03_created_idx ON public.account_changes_202103_03 USING btree (created);


--
-- Name: account_changes_202103_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_03_date_idx ON public.account_changes_202103_03 USING btree (date);


--
-- Name: account_changes_202103_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_04_created_idx ON public.account_changes_202103_04 USING btree (created);


--
-- Name: account_changes_202103_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_04_date_idx ON public.account_changes_202103_04 USING btree (date);


--
-- Name: account_changes_202103_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_05_created_idx ON public.account_changes_202103_05 USING btree (created);


--
-- Name: account_changes_202103_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_05_date_idx ON public.account_changes_202103_05 USING btree (date);


--
-- Name: account_changes_202103_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_06_created_idx ON public.account_changes_202103_06 USING btree (created);


--
-- Name: account_changes_202103_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202103_06_date_idx ON public.account_changes_202103_06 USING btree (date);


--
-- Name: account_changes_202104_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_01_created_idx ON public.account_changes_202104_01 USING btree (created);


--
-- Name: account_changes_202104_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_01_date_idx ON public.account_changes_202104_01 USING btree (date);


--
-- Name: account_changes_202104_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_02_created_idx ON public.account_changes_202104_02 USING btree (created);


--
-- Name: account_changes_202104_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_02_date_idx ON public.account_changes_202104_02 USING btree (date);


--
-- Name: account_changes_202104_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_03_created_idx ON public.account_changes_202104_03 USING btree (created);


--
-- Name: account_changes_202104_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_03_date_idx ON public.account_changes_202104_03 USING btree (date);


--
-- Name: account_changes_202104_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_04_created_idx ON public.account_changes_202104_04 USING btree (created);


--
-- Name: account_changes_202104_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_04_date_idx ON public.account_changes_202104_04 USING btree (date);


--
-- Name: account_changes_202104_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_05_created_idx ON public.account_changes_202104_05 USING btree (created);


--
-- Name: account_changes_202104_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_05_date_idx ON public.account_changes_202104_05 USING btree (date);


--
-- Name: account_changes_202104_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_06_created_idx ON public.account_changes_202104_06 USING btree (created);


--
-- Name: account_changes_202104_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202104_06_date_idx ON public.account_changes_202104_06 USING btree (date);


--
-- Name: account_changes_202105_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_01_created_idx ON public.account_changes_202105_01 USING btree (created);


--
-- Name: account_changes_202105_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_01_date_idx ON public.account_changes_202105_01 USING btree (date);


--
-- Name: account_changes_202105_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_02_created_idx ON public.account_changes_202105_02 USING btree (created);


--
-- Name: account_changes_202105_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_02_date_idx ON public.account_changes_202105_02 USING btree (date);


--
-- Name: account_changes_202105_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_03_created_idx ON public.account_changes_202105_03 USING btree (created);


--
-- Name: account_changes_202105_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_03_date_idx ON public.account_changes_202105_03 USING btree (date);


--
-- Name: account_changes_202105_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_04_created_idx ON public.account_changes_202105_04 USING btree (created);


--
-- Name: account_changes_202105_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_04_date_idx ON public.account_changes_202105_04 USING btree (date);


--
-- Name: account_changes_202105_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_05_created_idx ON public.account_changes_202105_05 USING btree (created);


--
-- Name: account_changes_202105_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_05_date_idx ON public.account_changes_202105_05 USING btree (date);


--
-- Name: account_changes_202105_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_06_created_idx ON public.account_changes_202105_06 USING btree (created);


--
-- Name: account_changes_202105_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202105_06_date_idx ON public.account_changes_202105_06 USING btree (date);


--
-- Name: account_changes_202106_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_01_created_idx ON public.account_changes_202106_01 USING btree (created);


--
-- Name: account_changes_202106_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_01_date_idx ON public.account_changes_202106_01 USING btree (date);


--
-- Name: account_changes_202106_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_02_created_idx ON public.account_changes_202106_02 USING btree (created);


--
-- Name: account_changes_202106_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_02_date_idx ON public.account_changes_202106_02 USING btree (date);


--
-- Name: account_changes_202106_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_03_created_idx ON public.account_changes_202106_03 USING btree (created);


--
-- Name: account_changes_202106_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_03_date_idx ON public.account_changes_202106_03 USING btree (date);


--
-- Name: account_changes_202106_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_04_created_idx ON public.account_changes_202106_04 USING btree (created);


--
-- Name: account_changes_202106_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_04_date_idx ON public.account_changes_202106_04 USING btree (date);


--
-- Name: account_changes_202106_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_05_created_idx ON public.account_changes_202106_05 USING btree (created);


--
-- Name: account_changes_202106_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_05_date_idx ON public.account_changes_202106_05 USING btree (date);


--
-- Name: account_changes_202106_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_06_created_idx ON public.account_changes_202106_06 USING btree (created);


--
-- Name: account_changes_202106_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202106_06_date_idx ON public.account_changes_202106_06 USING btree (date);


--
-- Name: account_changes_202107_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_01_created_idx ON public.account_changes_202107_01 USING btree (created);


--
-- Name: account_changes_202107_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_01_date_idx ON public.account_changes_202107_01 USING btree (date);


--
-- Name: account_changes_202107_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_02_created_idx ON public.account_changes_202107_02 USING btree (created);


--
-- Name: account_changes_202107_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_02_date_idx ON public.account_changes_202107_02 USING btree (date);


--
-- Name: account_changes_202107_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_03_created_idx ON public.account_changes_202107_03 USING btree (created);


--
-- Name: account_changes_202107_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_03_date_idx ON public.account_changes_202107_03 USING btree (date);


--
-- Name: account_changes_202107_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_04_created_idx ON public.account_changes_202107_04 USING btree (created);


--
-- Name: account_changes_202107_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_04_date_idx ON public.account_changes_202107_04 USING btree (date);


--
-- Name: account_changes_202107_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_05_created_idx ON public.account_changes_202107_05 USING btree (created);


--
-- Name: account_changes_202107_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_05_date_idx ON public.account_changes_202107_05 USING btree (date);


--
-- Name: account_changes_202107_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_06_created_idx ON public.account_changes_202107_06 USING btree (created);


--
-- Name: account_changes_202107_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202107_06_date_idx ON public.account_changes_202107_06 USING btree (date);


--
-- Name: account_changes_202108_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_01_created_idx ON public.account_changes_202108_01 USING btree (created);


--
-- Name: account_changes_202108_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_01_date_idx ON public.account_changes_202108_01 USING btree (date);


--
-- Name: account_changes_202108_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_02_created_idx ON public.account_changes_202108_02 USING btree (created);


--
-- Name: account_changes_202108_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_02_date_idx ON public.account_changes_202108_02 USING btree (date);


--
-- Name: account_changes_202108_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_03_created_idx ON public.account_changes_202108_03 USING btree (created);


--
-- Name: account_changes_202108_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_03_date_idx ON public.account_changes_202108_03 USING btree (date);


--
-- Name: account_changes_202108_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_04_created_idx ON public.account_changes_202108_04 USING btree (created);


--
-- Name: account_changes_202108_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_04_date_idx ON public.account_changes_202108_04 USING btree (date);


--
-- Name: account_changes_202108_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_05_created_idx ON public.account_changes_202108_05 USING btree (created);


--
-- Name: account_changes_202108_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_05_date_idx ON public.account_changes_202108_05 USING btree (date);


--
-- Name: account_changes_202108_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_06_created_idx ON public.account_changes_202108_06 USING btree (created);


--
-- Name: account_changes_202108_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202108_06_date_idx ON public.account_changes_202108_06 USING btree (date);


--
-- Name: account_changes_202109_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_01_created_idx ON public.account_changes_202109_01 USING btree (created);


--
-- Name: account_changes_202109_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_01_date_idx ON public.account_changes_202109_01 USING btree (date);


--
-- Name: account_changes_202109_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_02_created_idx ON public.account_changes_202109_02 USING btree (created);


--
-- Name: account_changes_202109_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_02_date_idx ON public.account_changes_202109_02 USING btree (date);


--
-- Name: account_changes_202109_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_03_created_idx ON public.account_changes_202109_03 USING btree (created);


--
-- Name: account_changes_202109_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_03_date_idx ON public.account_changes_202109_03 USING btree (date);


--
-- Name: account_changes_202109_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_04_created_idx ON public.account_changes_202109_04 USING btree (created);


--
-- Name: account_changes_202109_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_04_date_idx ON public.account_changes_202109_04 USING btree (date);


--
-- Name: account_changes_202109_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_05_created_idx ON public.account_changes_202109_05 USING btree (created);


--
-- Name: account_changes_202109_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_05_date_idx ON public.account_changes_202109_05 USING btree (date);


--
-- Name: account_changes_202109_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_06_created_idx ON public.account_changes_202109_06 USING btree (created);


--
-- Name: account_changes_202109_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202109_06_date_idx ON public.account_changes_202109_06 USING btree (date);


--
-- Name: account_changes_202110_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_01_created_idx ON public.account_changes_202110_01 USING btree (created);


--
-- Name: account_changes_202110_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_01_date_idx ON public.account_changes_202110_01 USING btree (date);


--
-- Name: account_changes_202110_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_02_created_idx ON public.account_changes_202110_02 USING btree (created);


--
-- Name: account_changes_202110_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_02_date_idx ON public.account_changes_202110_02 USING btree (date);


--
-- Name: account_changes_202110_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_03_created_idx ON public.account_changes_202110_03 USING btree (created);


--
-- Name: account_changes_202110_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_03_date_idx ON public.account_changes_202110_03 USING btree (date);


--
-- Name: account_changes_202110_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_04_created_idx ON public.account_changes_202110_04 USING btree (created);


--
-- Name: account_changes_202110_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_04_date_idx ON public.account_changes_202110_04 USING btree (date);


--
-- Name: account_changes_202110_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_05_created_idx ON public.account_changes_202110_05 USING btree (created);


--
-- Name: account_changes_202110_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_05_date_idx ON public.account_changes_202110_05 USING btree (date);


--
-- Name: account_changes_202110_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_06_created_idx ON public.account_changes_202110_06 USING btree (created);


--
-- Name: account_changes_202110_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202110_06_date_idx ON public.account_changes_202110_06 USING btree (date);


--
-- Name: account_changes_202111_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_01_created_idx ON public.account_changes_202111_01 USING btree (created);


--
-- Name: account_changes_202111_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_01_date_idx ON public.account_changes_202111_01 USING btree (date);


--
-- Name: account_changes_202111_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_02_created_idx ON public.account_changes_202111_02 USING btree (created);


--
-- Name: account_changes_202111_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_02_date_idx ON public.account_changes_202111_02 USING btree (date);


--
-- Name: account_changes_202111_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_03_created_idx ON public.account_changes_202111_03 USING btree (created);


--
-- Name: account_changes_202111_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_03_date_idx ON public.account_changes_202111_03 USING btree (date);


--
-- Name: account_changes_202111_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_04_created_idx ON public.account_changes_202111_04 USING btree (created);


--
-- Name: account_changes_202111_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_04_date_idx ON public.account_changes_202111_04 USING btree (date);


--
-- Name: account_changes_202111_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_05_created_idx ON public.account_changes_202111_05 USING btree (created);


--
-- Name: account_changes_202111_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_05_date_idx ON public.account_changes_202111_05 USING btree (date);


--
-- Name: account_changes_202111_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_06_created_idx ON public.account_changes_202111_06 USING btree (created);


--
-- Name: account_changes_202111_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202111_06_date_idx ON public.account_changes_202111_06 USING btree (date);


--
-- Name: account_changes_202112_01_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_01_created_idx ON public.account_changes_202112_01 USING btree (created);


--
-- Name: account_changes_202112_01_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_01_date_idx ON public.account_changes_202112_01 USING btree (date);


--
-- Name: account_changes_202112_02_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_02_created_idx ON public.account_changes_202112_02 USING btree (created);


--
-- Name: account_changes_202112_02_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_02_date_idx ON public.account_changes_202112_02 USING btree (date);


--
-- Name: account_changes_202112_03_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_03_created_idx ON public.account_changes_202112_03 USING btree (created);


--
-- Name: account_changes_202112_03_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_03_date_idx ON public.account_changes_202112_03 USING btree (date);


--
-- Name: account_changes_202112_04_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_04_created_idx ON public.account_changes_202112_04 USING btree (created);


--
-- Name: account_changes_202112_04_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_04_date_idx ON public.account_changes_202112_04 USING btree (date);


--
-- Name: account_changes_202112_05_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_05_created_idx ON public.account_changes_202112_05 USING btree (created);


--
-- Name: account_changes_202112_05_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_05_date_idx ON public.account_changes_202112_05 USING btree (date);


--
-- Name: account_changes_202112_06_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_06_created_idx ON public.account_changes_202112_06 USING btree (created);


--
-- Name: account_changes_202112_06_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX account_changes_202112_06_date_idx ON public.account_changes_202112_06 USING btree (date);


--
-- Name: admin_logs_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_created_idx ON ONLY public.admin_logs USING btree (created);


--
-- Name: admin_logs_202005_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202005_created_idx ON public.admin_logs_202005 USING btree (created);


--
-- Name: admin_logs_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_date_idx ON ONLY public.admin_logs USING btree (date);


--
-- Name: admin_logs_202005_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202005_date_idx ON public.admin_logs_202005 USING btree (date);


--
-- Name: admin_logs_202006_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202006_created_idx ON public.admin_logs_202006 USING btree (created);


--
-- Name: admin_logs_202006_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202006_date_idx ON public.admin_logs_202006 USING btree (date);


--
-- Name: admin_logs_202007_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202007_created_idx ON public.admin_logs_202007 USING btree (created);


--
-- Name: admin_logs_202007_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202007_date_idx ON public.admin_logs_202007 USING btree (date);


--
-- Name: admin_logs_202008_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202008_created_idx ON public.admin_logs_202008 USING btree (created);


--
-- Name: admin_logs_202008_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202008_date_idx ON public.admin_logs_202008 USING btree (date);


--
-- Name: admin_logs_202009_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202009_created_idx ON public.admin_logs_202009 USING btree (created);


--
-- Name: admin_logs_202009_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202009_date_idx ON public.admin_logs_202009 USING btree (date);


--
-- Name: admin_logs_202010_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202010_created_idx ON public.admin_logs_202010 USING btree (created);


--
-- Name: admin_logs_202010_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202010_date_idx ON public.admin_logs_202010 USING btree (date);


--
-- Name: admin_logs_202011_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202011_created_idx ON public.admin_logs_202011 USING btree (created);


--
-- Name: admin_logs_202011_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202011_date_idx ON public.admin_logs_202011 USING btree (date);


--
-- Name: admin_logs_202012_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202012_created_idx ON public.admin_logs_202012 USING btree (created);


--
-- Name: admin_logs_202012_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202012_date_idx ON public.admin_logs_202012 USING btree (date);


--
-- Name: admin_logs_202101_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202101_created_idx ON public.admin_logs_202101 USING btree (created);


--
-- Name: admin_logs_202101_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202101_date_idx ON public.admin_logs_202101 USING btree (date);


--
-- Name: admin_logs_202102_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202102_created_idx ON public.admin_logs_202102 USING btree (created);


--
-- Name: admin_logs_202102_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202102_date_idx ON public.admin_logs_202102 USING btree (date);


--
-- Name: admin_logs_202103_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202103_created_idx ON public.admin_logs_202103 USING btree (created);


--
-- Name: admin_logs_202103_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202103_date_idx ON public.admin_logs_202103 USING btree (date);


--
-- Name: admin_logs_202104_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202104_created_idx ON public.admin_logs_202104 USING btree (created);


--
-- Name: admin_logs_202104_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202104_date_idx ON public.admin_logs_202104 USING btree (date);


--
-- Name: admin_logs_202105_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202105_created_idx ON public.admin_logs_202105 USING btree (created);


--
-- Name: admin_logs_202105_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202105_date_idx ON public.admin_logs_202105 USING btree (date);


--
-- Name: admin_logs_202106_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202106_created_idx ON public.admin_logs_202106 USING btree (created);


--
-- Name: admin_logs_202106_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202106_date_idx ON public.admin_logs_202106 USING btree (date);


--
-- Name: admin_logs_202107_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202107_created_idx ON public.admin_logs_202107 USING btree (created);


--
-- Name: admin_logs_202107_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202107_date_idx ON public.admin_logs_202107 USING btree (date);


--
-- Name: admin_logs_202108_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202108_created_idx ON public.admin_logs_202108 USING btree (created);


--
-- Name: admin_logs_202108_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202108_date_idx ON public.admin_logs_202108 USING btree (date);


--
-- Name: admin_logs_202109_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202109_created_idx ON public.admin_logs_202109 USING btree (created);


--
-- Name: admin_logs_202109_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202109_date_idx ON public.admin_logs_202109 USING btree (date);


--
-- Name: admin_logs_202110_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202110_created_idx ON public.admin_logs_202110 USING btree (created);


--
-- Name: admin_logs_202110_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202110_date_idx ON public.admin_logs_202110 USING btree (date);


--
-- Name: admin_logs_202111_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202111_created_idx ON public.admin_logs_202111 USING btree (created);


--
-- Name: admin_logs_202111_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202111_date_idx ON public.admin_logs_202111 USING btree (date);


--
-- Name: admin_logs_202112_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202112_created_idx ON public.admin_logs_202112 USING btree (created);


--
-- Name: admin_logs_202112_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX admin_logs_202112_date_idx ON public.admin_logs_202112 USING btree (date);


--
-- Name: admin_roles_name_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX admin_roles_name_idx ON public.admin_roles USING btree (name);


--
-- Name: admins_name_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX admins_name_idx ON public.admins USING btree (name);


--
-- Name: banks_code_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX banks_code_idx ON public.banks USING btree (code);


--
-- Name: banks_name_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX banks_name_idx ON public.banks USING btree (name);


--
-- Name: cities_province_id_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX cities_province_id_idx ON public.cities USING btree (province_id);


--
-- Name: menus_parent_id_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX menus_parent_id_idx ON public.menus USING btree (parent_id);


--
-- Name: provinces_code_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE UNIQUE INDEX provinces_code_idx ON public.provinces USING btree (code);


--
-- Name: recharges_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_created_idx ON ONLY public.recharges USING btree (created);


--
-- Name: recharges_202005_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202005_created_idx ON public.recharges_202005 USING btree (created);


--
-- Name: recharges_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_date_idx ON ONLY public.recharges USING btree (date);


--
-- Name: recharges_202005_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202005_date_idx ON public.recharges_202005 USING btree (date);


--
-- Name: recharges_202006_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202006_created_idx ON public.recharges_202006 USING btree (created);


--
-- Name: recharges_202006_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202006_date_idx ON public.recharges_202006 USING btree (date);


--
-- Name: recharges_202007_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202007_created_idx ON public.recharges_202007 USING btree (created);


--
-- Name: recharges_202007_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202007_date_idx ON public.recharges_202007 USING btree (date);


--
-- Name: recharges_202008_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202008_created_idx ON public.recharges_202008 USING btree (created);


--
-- Name: recharges_202008_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202008_date_idx ON public.recharges_202008 USING btree (date);


--
-- Name: recharges_202009_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202009_created_idx ON public.recharges_202009 USING btree (created);


--
-- Name: recharges_202009_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202009_date_idx ON public.recharges_202009 USING btree (date);


--
-- Name: recharges_202010_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202010_created_idx ON public.recharges_202010 USING btree (created);


--
-- Name: recharges_202010_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202010_date_idx ON public.recharges_202010 USING btree (date);


--
-- Name: recharges_202011_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202011_created_idx ON public.recharges_202011 USING btree (created);


--
-- Name: recharges_202011_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202011_date_idx ON public.recharges_202011 USING btree (date);


--
-- Name: recharges_202012_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202012_created_idx ON public.recharges_202012 USING btree (created);


--
-- Name: recharges_202012_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202012_date_idx ON public.recharges_202012 USING btree (date);


--
-- Name: recharges_202101_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202101_created_idx ON public.recharges_202101 USING btree (created);


--
-- Name: recharges_202101_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202101_date_idx ON public.recharges_202101 USING btree (date);


--
-- Name: recharges_202102_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202102_created_idx ON public.recharges_202102 USING btree (created);


--
-- Name: recharges_202102_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202102_date_idx ON public.recharges_202102 USING btree (date);


--
-- Name: recharges_202103_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202103_created_idx ON public.recharges_202103 USING btree (created);


--
-- Name: recharges_202103_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202103_date_idx ON public.recharges_202103 USING btree (date);


--
-- Name: recharges_202104_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202104_created_idx ON public.recharges_202104 USING btree (created);


--
-- Name: recharges_202104_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202104_date_idx ON public.recharges_202104 USING btree (date);


--
-- Name: recharges_202105_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202105_created_idx ON public.recharges_202105 USING btree (created);


--
-- Name: recharges_202105_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202105_date_idx ON public.recharges_202105 USING btree (date);


--
-- Name: recharges_202106_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202106_created_idx ON public.recharges_202106 USING btree (created);


--
-- Name: recharges_202106_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202106_date_idx ON public.recharges_202106 USING btree (date);


--
-- Name: recharges_202107_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202107_created_idx ON public.recharges_202107 USING btree (created);


--
-- Name: recharges_202107_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202107_date_idx ON public.recharges_202107 USING btree (date);


--
-- Name: recharges_202108_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202108_created_idx ON public.recharges_202108 USING btree (created);


--
-- Name: recharges_202108_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202108_date_idx ON public.recharges_202108 USING btree (date);


--
-- Name: recharges_202109_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202109_created_idx ON public.recharges_202109 USING btree (created);


--
-- Name: recharges_202109_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202109_date_idx ON public.recharges_202109 USING btree (date);


--
-- Name: recharges_202110_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202110_created_idx ON public.recharges_202110 USING btree (created);


--
-- Name: recharges_202110_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202110_date_idx ON public.recharges_202110 USING btree (date);


--
-- Name: recharges_202111_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202111_created_idx ON public.recharges_202111 USING btree (created);


--
-- Name: recharges_202111_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202111_date_idx ON public.recharges_202111 USING btree (date);


--
-- Name: recharges_202112_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202112_created_idx ON public.recharges_202112 USING btree (created);


--
-- Name: recharges_202112_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX recharges_202112_date_idx ON public.recharges_202112 USING btree (date);


--
-- Name: users_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_status_idx ON ONLY public.users USING btree (status);


--
-- Name: users_01_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_01_status_idx ON public.users_01 USING btree (status);


--
-- Name: users_02_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_02_status_idx ON public.users_02 USING btree (status);


--
-- Name: users_03_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_03_status_idx ON public.users_03 USING btree (status);


--
-- Name: users_04_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_04_status_idx ON public.users_04 USING btree (status);


--
-- Name: users_05_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_05_status_idx ON public.users_05 USING btree (status);


--
-- Name: users_06_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_06_status_idx ON public.users_06 USING btree (status);


--
-- Name: users_07_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_07_status_idx ON public.users_07 USING btree (status);


--
-- Name: users_08_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_08_status_idx ON public.users_08 USING btree (status);


--
-- Name: users_09_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_09_status_idx ON public.users_09 USING btree (status);


--
-- Name: users_10_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_10_status_idx ON public.users_10 USING btree (status);


--
-- Name: users_11_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_11_status_idx ON public.users_11 USING btree (status);


--
-- Name: users_12_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_12_status_idx ON public.users_12 USING btree (status);


--
-- Name: users_13_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_13_status_idx ON public.users_13 USING btree (status);


--
-- Name: users_14_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_14_status_idx ON public.users_14 USING btree (status);


--
-- Name: users_15_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_15_status_idx ON public.users_15 USING btree (status);


--
-- Name: users_16_status_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX users_16_status_idx ON public.users_16 USING btree (status);


--
-- Name: withdraws_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_created_idx ON ONLY public.withdraws USING btree (created);


--
-- Name: withdraws_202005_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202005_created_idx ON public.withdraws_202005 USING btree (created);


--
-- Name: withdraws_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_created_idx1 ON ONLY public.withdraws USING btree (created);


--
-- Name: withdraws_202005_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202005_created_idx1 ON public.withdraws_202005 USING btree (created);


--
-- Name: withdraws_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_date_idx ON ONLY public.withdraws USING btree (date);


--
-- Name: withdraws_202005_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202005_date_idx ON public.withdraws_202005 USING btree (date);


--
-- Name: withdraws_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_date_idx1 ON ONLY public.withdraws USING btree (date);


--
-- Name: withdraws_202005_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202005_date_idx1 ON public.withdraws_202005 USING btree (date);


--
-- Name: withdraws_202006_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202006_created_idx ON public.withdraws_202006 USING btree (created);


--
-- Name: withdraws_202006_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202006_created_idx1 ON public.withdraws_202006 USING btree (created);


--
-- Name: withdraws_202006_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202006_date_idx ON public.withdraws_202006 USING btree (date);


--
-- Name: withdraws_202006_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202006_date_idx1 ON public.withdraws_202006 USING btree (date);


--
-- Name: withdraws_202007_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202007_created_idx ON public.withdraws_202007 USING btree (created);


--
-- Name: withdraws_202007_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202007_created_idx1 ON public.withdraws_202007 USING btree (created);


--
-- Name: withdraws_202007_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202007_date_idx ON public.withdraws_202007 USING btree (date);


--
-- Name: withdraws_202007_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202007_date_idx1 ON public.withdraws_202007 USING btree (date);


--
-- Name: withdraws_202008_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202008_created_idx ON public.withdraws_202008 USING btree (created);


--
-- Name: withdraws_202008_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202008_created_idx1 ON public.withdraws_202008 USING btree (created);


--
-- Name: withdraws_202008_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202008_date_idx ON public.withdraws_202008 USING btree (date);


--
-- Name: withdraws_202008_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202008_date_idx1 ON public.withdraws_202008 USING btree (date);


--
-- Name: withdraws_202009_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202009_created_idx ON public.withdraws_202009 USING btree (created);


--
-- Name: withdraws_202009_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202009_created_idx1 ON public.withdraws_202009 USING btree (created);


--
-- Name: withdraws_202009_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202009_date_idx ON public.withdraws_202009 USING btree (date);


--
-- Name: withdraws_202009_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202009_date_idx1 ON public.withdraws_202009 USING btree (date);


--
-- Name: withdraws_202010_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202010_created_idx ON public.withdraws_202010 USING btree (created);


--
-- Name: withdraws_202010_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202010_created_idx1 ON public.withdraws_202010 USING btree (created);


--
-- Name: withdraws_202010_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202010_date_idx ON public.withdraws_202010 USING btree (date);


--
-- Name: withdraws_202010_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202010_date_idx1 ON public.withdraws_202010 USING btree (date);


--
-- Name: withdraws_202011_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202011_created_idx ON public.withdraws_202011 USING btree (created);


--
-- Name: withdraws_202011_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202011_created_idx1 ON public.withdraws_202011 USING btree (created);


--
-- Name: withdraws_202011_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202011_date_idx ON public.withdraws_202011 USING btree (date);


--
-- Name: withdraws_202011_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202011_date_idx1 ON public.withdraws_202011 USING btree (date);


--
-- Name: withdraws_202012_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202012_created_idx ON public.withdraws_202012 USING btree (created);


--
-- Name: withdraws_202012_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202012_created_idx1 ON public.withdraws_202012 USING btree (created);


--
-- Name: withdraws_202012_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202012_date_idx ON public.withdraws_202012 USING btree (date);


--
-- Name: withdraws_202012_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202012_date_idx1 ON public.withdraws_202012 USING btree (date);


--
-- Name: withdraws_202101_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202101_created_idx ON public.withdraws_202101 USING btree (created);


--
-- Name: withdraws_202101_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202101_created_idx1 ON public.withdraws_202101 USING btree (created);


--
-- Name: withdraws_202101_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202101_date_idx ON public.withdraws_202101 USING btree (date);


--
-- Name: withdraws_202101_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202101_date_idx1 ON public.withdraws_202101 USING btree (date);


--
-- Name: withdraws_202102_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202102_created_idx ON public.withdraws_202102 USING btree (created);


--
-- Name: withdraws_202102_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202102_created_idx1 ON public.withdraws_202102 USING btree (created);


--
-- Name: withdraws_202102_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202102_date_idx ON public.withdraws_202102 USING btree (date);


--
-- Name: withdraws_202102_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202102_date_idx1 ON public.withdraws_202102 USING btree (date);


--
-- Name: withdraws_202103_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202103_created_idx ON public.withdraws_202103 USING btree (created);


--
-- Name: withdraws_202103_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202103_created_idx1 ON public.withdraws_202103 USING btree (created);


--
-- Name: withdraws_202103_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202103_date_idx ON public.withdraws_202103 USING btree (date);


--
-- Name: withdraws_202103_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202103_date_idx1 ON public.withdraws_202103 USING btree (date);


--
-- Name: withdraws_202104_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202104_created_idx ON public.withdraws_202104 USING btree (created);


--
-- Name: withdraws_202104_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202104_created_idx1 ON public.withdraws_202104 USING btree (created);


--
-- Name: withdraws_202104_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202104_date_idx ON public.withdraws_202104 USING btree (date);


--
-- Name: withdraws_202104_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202104_date_idx1 ON public.withdraws_202104 USING btree (date);


--
-- Name: withdraws_202105_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202105_created_idx ON public.withdraws_202105 USING btree (created);


--
-- Name: withdraws_202105_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202105_created_idx1 ON public.withdraws_202105 USING btree (created);


--
-- Name: withdraws_202105_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202105_date_idx ON public.withdraws_202105 USING btree (date);


--
-- Name: withdraws_202105_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202105_date_idx1 ON public.withdraws_202105 USING btree (date);


--
-- Name: withdraws_202106_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202106_created_idx ON public.withdraws_202106 USING btree (created);


--
-- Name: withdraws_202106_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202106_created_idx1 ON public.withdraws_202106 USING btree (created);


--
-- Name: withdraws_202106_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202106_date_idx ON public.withdraws_202106 USING btree (date);


--
-- Name: withdraws_202106_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202106_date_idx1 ON public.withdraws_202106 USING btree (date);


--
-- Name: withdraws_202107_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202107_created_idx ON public.withdraws_202107 USING btree (created);


--
-- Name: withdraws_202107_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202107_created_idx1 ON public.withdraws_202107 USING btree (created);


--
-- Name: withdraws_202107_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202107_date_idx ON public.withdraws_202107 USING btree (date);


--
-- Name: withdraws_202107_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202107_date_idx1 ON public.withdraws_202107 USING btree (date);


--
-- Name: withdraws_202108_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202108_created_idx ON public.withdraws_202108 USING btree (created);


--
-- Name: withdraws_202108_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202108_created_idx1 ON public.withdraws_202108 USING btree (created);


--
-- Name: withdraws_202108_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202108_date_idx ON public.withdraws_202108 USING btree (date);


--
-- Name: withdraws_202108_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202108_date_idx1 ON public.withdraws_202108 USING btree (date);


--
-- Name: withdraws_202109_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202109_created_idx ON public.withdraws_202109 USING btree (created);


--
-- Name: withdraws_202109_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202109_created_idx1 ON public.withdraws_202109 USING btree (created);


--
-- Name: withdraws_202109_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202109_date_idx ON public.withdraws_202109 USING btree (date);


--
-- Name: withdraws_202109_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202109_date_idx1 ON public.withdraws_202109 USING btree (date);


--
-- Name: withdraws_202110_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202110_created_idx ON public.withdraws_202110 USING btree (created);


--
-- Name: withdraws_202110_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202110_created_idx1 ON public.withdraws_202110 USING btree (created);


--
-- Name: withdraws_202110_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202110_date_idx ON public.withdraws_202110 USING btree (date);


--
-- Name: withdraws_202110_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202110_date_idx1 ON public.withdraws_202110 USING btree (date);


--
-- Name: withdraws_202111_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202111_created_idx ON public.withdraws_202111 USING btree (created);


--
-- Name: withdraws_202111_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202111_created_idx1 ON public.withdraws_202111 USING btree (created);


--
-- Name: withdraws_202111_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202111_date_idx ON public.withdraws_202111 USING btree (date);


--
-- Name: withdraws_202111_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202111_date_idx1 ON public.withdraws_202111 USING btree (date);


--
-- Name: withdraws_202112_created_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202112_created_idx ON public.withdraws_202112 USING btree (created);


--
-- Name: withdraws_202112_created_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202112_created_idx1 ON public.withdraws_202112 USING btree (created);


--
-- Name: withdraws_202112_date_idx; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202112_date_idx ON public.withdraws_202112 USING btree (date);


--
-- Name: withdraws_202112_date_idx1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX withdraws_202112_date_idx1 ON public.withdraws_202112 USING btree (date);


--
-- Name: account_changes_202005_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_01_created_idx;


--
-- Name: account_changes_202005_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_01_date_idx;


--
-- Name: account_changes_202005_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_01_pkey;


--
-- Name: account_changes_202005_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_02_created_idx;


--
-- Name: account_changes_202005_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_02_date_idx;


--
-- Name: account_changes_202005_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_02_pkey;


--
-- Name: account_changes_202005_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_03_created_idx;


--
-- Name: account_changes_202005_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_03_date_idx;


--
-- Name: account_changes_202005_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_03_pkey;


--
-- Name: account_changes_202005_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_04_created_idx;


--
-- Name: account_changes_202005_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_04_date_idx;


--
-- Name: account_changes_202005_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_04_pkey;


--
-- Name: account_changes_202005_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_05_created_idx;


--
-- Name: account_changes_202005_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_05_date_idx;


--
-- Name: account_changes_202005_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_05_pkey;


--
-- Name: account_changes_202005_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202005_06_created_idx;


--
-- Name: account_changes_202005_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202005_06_date_idx;


--
-- Name: account_changes_202005_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202005_06_pkey;


--
-- Name: account_changes_202006_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_01_created_idx;


--
-- Name: account_changes_202006_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_01_date_idx;


--
-- Name: account_changes_202006_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_01_pkey;


--
-- Name: account_changes_202006_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_02_created_idx;


--
-- Name: account_changes_202006_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_02_date_idx;


--
-- Name: account_changes_202006_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_02_pkey;


--
-- Name: account_changes_202006_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_03_created_idx;


--
-- Name: account_changes_202006_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_03_date_idx;


--
-- Name: account_changes_202006_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_03_pkey;


--
-- Name: account_changes_202006_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_04_created_idx;


--
-- Name: account_changes_202006_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_04_date_idx;


--
-- Name: account_changes_202006_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_04_pkey;


--
-- Name: account_changes_202006_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_05_created_idx;


--
-- Name: account_changes_202006_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_05_date_idx;


--
-- Name: account_changes_202006_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_05_pkey;


--
-- Name: account_changes_202006_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202006_06_created_idx;


--
-- Name: account_changes_202006_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202006_06_date_idx;


--
-- Name: account_changes_202006_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202006_06_pkey;


--
-- Name: account_changes_202007_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_01_created_idx;


--
-- Name: account_changes_202007_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_01_date_idx;


--
-- Name: account_changes_202007_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_01_pkey;


--
-- Name: account_changes_202007_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_02_created_idx;


--
-- Name: account_changes_202007_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_02_date_idx;


--
-- Name: account_changes_202007_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_02_pkey;


--
-- Name: account_changes_202007_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_03_created_idx;


--
-- Name: account_changes_202007_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_03_date_idx;


--
-- Name: account_changes_202007_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_03_pkey;


--
-- Name: account_changes_202007_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_04_created_idx;


--
-- Name: account_changes_202007_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_04_date_idx;


--
-- Name: account_changes_202007_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_04_pkey;


--
-- Name: account_changes_202007_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_05_created_idx;


--
-- Name: account_changes_202007_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_05_date_idx;


--
-- Name: account_changes_202007_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_05_pkey;


--
-- Name: account_changes_202007_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202007_06_created_idx;


--
-- Name: account_changes_202007_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202007_06_date_idx;


--
-- Name: account_changes_202007_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202007_06_pkey;


--
-- Name: account_changes_202008_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_01_created_idx;


--
-- Name: account_changes_202008_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_01_date_idx;


--
-- Name: account_changes_202008_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_01_pkey;


--
-- Name: account_changes_202008_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_02_created_idx;


--
-- Name: account_changes_202008_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_02_date_idx;


--
-- Name: account_changes_202008_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_02_pkey;


--
-- Name: account_changes_202008_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_03_created_idx;


--
-- Name: account_changes_202008_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_03_date_idx;


--
-- Name: account_changes_202008_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_03_pkey;


--
-- Name: account_changes_202008_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_04_created_idx;


--
-- Name: account_changes_202008_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_04_date_idx;


--
-- Name: account_changes_202008_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_04_pkey;


--
-- Name: account_changes_202008_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_05_created_idx;


--
-- Name: account_changes_202008_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_05_date_idx;


--
-- Name: account_changes_202008_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_05_pkey;


--
-- Name: account_changes_202008_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202008_06_created_idx;


--
-- Name: account_changes_202008_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202008_06_date_idx;


--
-- Name: account_changes_202008_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202008_06_pkey;


--
-- Name: account_changes_202009_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_01_created_idx;


--
-- Name: account_changes_202009_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_01_date_idx;


--
-- Name: account_changes_202009_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_01_pkey;


--
-- Name: account_changes_202009_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_02_created_idx;


--
-- Name: account_changes_202009_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_02_date_idx;


--
-- Name: account_changes_202009_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_02_pkey;


--
-- Name: account_changes_202009_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_03_created_idx;


--
-- Name: account_changes_202009_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_03_date_idx;


--
-- Name: account_changes_202009_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_03_pkey;


--
-- Name: account_changes_202009_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_04_created_idx;


--
-- Name: account_changes_202009_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_04_date_idx;


--
-- Name: account_changes_202009_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_04_pkey;


--
-- Name: account_changes_202009_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_05_created_idx;


--
-- Name: account_changes_202009_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_05_date_idx;


--
-- Name: account_changes_202009_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_05_pkey;


--
-- Name: account_changes_202009_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202009_06_created_idx;


--
-- Name: account_changes_202009_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202009_06_date_idx;


--
-- Name: account_changes_202009_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202009_06_pkey;


--
-- Name: account_changes_202010_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_01_created_idx;


--
-- Name: account_changes_202010_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_01_date_idx;


--
-- Name: account_changes_202010_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_01_pkey;


--
-- Name: account_changes_202010_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_02_created_idx;


--
-- Name: account_changes_202010_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_02_date_idx;


--
-- Name: account_changes_202010_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_02_pkey;


--
-- Name: account_changes_202010_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_03_created_idx;


--
-- Name: account_changes_202010_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_03_date_idx;


--
-- Name: account_changes_202010_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_03_pkey;


--
-- Name: account_changes_202010_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_04_created_idx;


--
-- Name: account_changes_202010_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_04_date_idx;


--
-- Name: account_changes_202010_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_04_pkey;


--
-- Name: account_changes_202010_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_05_created_idx;


--
-- Name: account_changes_202010_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_05_date_idx;


--
-- Name: account_changes_202010_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_05_pkey;


--
-- Name: account_changes_202010_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202010_06_created_idx;


--
-- Name: account_changes_202010_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202010_06_date_idx;


--
-- Name: account_changes_202010_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202010_06_pkey;


--
-- Name: account_changes_202011_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_01_created_idx;


--
-- Name: account_changes_202011_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_01_date_idx;


--
-- Name: account_changes_202011_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_01_pkey;


--
-- Name: account_changes_202011_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_02_created_idx;


--
-- Name: account_changes_202011_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_02_date_idx;


--
-- Name: account_changes_202011_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_02_pkey;


--
-- Name: account_changes_202011_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_03_created_idx;


--
-- Name: account_changes_202011_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_03_date_idx;


--
-- Name: account_changes_202011_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_03_pkey;


--
-- Name: account_changes_202011_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_04_created_idx;


--
-- Name: account_changes_202011_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_04_date_idx;


--
-- Name: account_changes_202011_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_04_pkey;


--
-- Name: account_changes_202011_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_05_created_idx;


--
-- Name: account_changes_202011_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_05_date_idx;


--
-- Name: account_changes_202011_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_05_pkey;


--
-- Name: account_changes_202011_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202011_06_created_idx;


--
-- Name: account_changes_202011_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202011_06_date_idx;


--
-- Name: account_changes_202011_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202011_06_pkey;


--
-- Name: account_changes_202012_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_01_created_idx;


--
-- Name: account_changes_202012_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_01_date_idx;


--
-- Name: account_changes_202012_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_01_pkey;


--
-- Name: account_changes_202012_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_02_created_idx;


--
-- Name: account_changes_202012_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_02_date_idx;


--
-- Name: account_changes_202012_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_02_pkey;


--
-- Name: account_changes_202012_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_03_created_idx;


--
-- Name: account_changes_202012_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_03_date_idx;


--
-- Name: account_changes_202012_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_03_pkey;


--
-- Name: account_changes_202012_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_04_created_idx;


--
-- Name: account_changes_202012_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_04_date_idx;


--
-- Name: account_changes_202012_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_04_pkey;


--
-- Name: account_changes_202012_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_05_created_idx;


--
-- Name: account_changes_202012_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_05_date_idx;


--
-- Name: account_changes_202012_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_05_pkey;


--
-- Name: account_changes_202012_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202012_06_created_idx;


--
-- Name: account_changes_202012_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202012_06_date_idx;


--
-- Name: account_changes_202012_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202012_06_pkey;


--
-- Name: account_changes_202101_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_01_created_idx;


--
-- Name: account_changes_202101_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_01_date_idx;


--
-- Name: account_changes_202101_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_01_pkey;


--
-- Name: account_changes_202101_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_02_created_idx;


--
-- Name: account_changes_202101_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_02_date_idx;


--
-- Name: account_changes_202101_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_02_pkey;


--
-- Name: account_changes_202101_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_03_created_idx;


--
-- Name: account_changes_202101_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_03_date_idx;


--
-- Name: account_changes_202101_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_03_pkey;


--
-- Name: account_changes_202101_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_04_created_idx;


--
-- Name: account_changes_202101_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_04_date_idx;


--
-- Name: account_changes_202101_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_04_pkey;


--
-- Name: account_changes_202101_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_05_created_idx;


--
-- Name: account_changes_202101_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_05_date_idx;


--
-- Name: account_changes_202101_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_05_pkey;


--
-- Name: account_changes_202101_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202101_06_created_idx;


--
-- Name: account_changes_202101_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202101_06_date_idx;


--
-- Name: account_changes_202101_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202101_06_pkey;


--
-- Name: account_changes_202102_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_01_created_idx;


--
-- Name: account_changes_202102_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_01_date_idx;


--
-- Name: account_changes_202102_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_01_pkey;


--
-- Name: account_changes_202102_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_02_created_idx;


--
-- Name: account_changes_202102_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_02_date_idx;


--
-- Name: account_changes_202102_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_02_pkey;


--
-- Name: account_changes_202102_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_03_created_idx;


--
-- Name: account_changes_202102_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_03_date_idx;


--
-- Name: account_changes_202102_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_03_pkey;


--
-- Name: account_changes_202102_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_04_created_idx;


--
-- Name: account_changes_202102_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_04_date_idx;


--
-- Name: account_changes_202102_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_04_pkey;


--
-- Name: account_changes_202102_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_05_created_idx;


--
-- Name: account_changes_202102_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_05_date_idx;


--
-- Name: account_changes_202102_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_05_pkey;


--
-- Name: account_changes_202102_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202102_06_created_idx;


--
-- Name: account_changes_202102_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202102_06_date_idx;


--
-- Name: account_changes_202102_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202102_06_pkey;


--
-- Name: account_changes_202103_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_01_created_idx;


--
-- Name: account_changes_202103_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_01_date_idx;


--
-- Name: account_changes_202103_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_01_pkey;


--
-- Name: account_changes_202103_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_02_created_idx;


--
-- Name: account_changes_202103_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_02_date_idx;


--
-- Name: account_changes_202103_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_02_pkey;


--
-- Name: account_changes_202103_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_03_created_idx;


--
-- Name: account_changes_202103_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_03_date_idx;


--
-- Name: account_changes_202103_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_03_pkey;


--
-- Name: account_changes_202103_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_04_created_idx;


--
-- Name: account_changes_202103_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_04_date_idx;


--
-- Name: account_changes_202103_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_04_pkey;


--
-- Name: account_changes_202103_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_05_created_idx;


--
-- Name: account_changes_202103_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_05_date_idx;


--
-- Name: account_changes_202103_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_05_pkey;


--
-- Name: account_changes_202103_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202103_06_created_idx;


--
-- Name: account_changes_202103_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202103_06_date_idx;


--
-- Name: account_changes_202103_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202103_06_pkey;


--
-- Name: account_changes_202104_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_01_created_idx;


--
-- Name: account_changes_202104_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_01_date_idx;


--
-- Name: account_changes_202104_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_01_pkey;


--
-- Name: account_changes_202104_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_02_created_idx;


--
-- Name: account_changes_202104_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_02_date_idx;


--
-- Name: account_changes_202104_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_02_pkey;


--
-- Name: account_changes_202104_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_03_created_idx;


--
-- Name: account_changes_202104_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_03_date_idx;


--
-- Name: account_changes_202104_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_03_pkey;


--
-- Name: account_changes_202104_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_04_created_idx;


--
-- Name: account_changes_202104_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_04_date_idx;


--
-- Name: account_changes_202104_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_04_pkey;


--
-- Name: account_changes_202104_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_05_created_idx;


--
-- Name: account_changes_202104_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_05_date_idx;


--
-- Name: account_changes_202104_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_05_pkey;


--
-- Name: account_changes_202104_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202104_06_created_idx;


--
-- Name: account_changes_202104_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202104_06_date_idx;


--
-- Name: account_changes_202104_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202104_06_pkey;


--
-- Name: account_changes_202105_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_01_created_idx;


--
-- Name: account_changes_202105_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_01_date_idx;


--
-- Name: account_changes_202105_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_01_pkey;


--
-- Name: account_changes_202105_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_02_created_idx;


--
-- Name: account_changes_202105_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_02_date_idx;


--
-- Name: account_changes_202105_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_02_pkey;


--
-- Name: account_changes_202105_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_03_created_idx;


--
-- Name: account_changes_202105_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_03_date_idx;


--
-- Name: account_changes_202105_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_03_pkey;


--
-- Name: account_changes_202105_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_04_created_idx;


--
-- Name: account_changes_202105_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_04_date_idx;


--
-- Name: account_changes_202105_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_04_pkey;


--
-- Name: account_changes_202105_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_05_created_idx;


--
-- Name: account_changes_202105_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_05_date_idx;


--
-- Name: account_changes_202105_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_05_pkey;


--
-- Name: account_changes_202105_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202105_06_created_idx;


--
-- Name: account_changes_202105_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202105_06_date_idx;


--
-- Name: account_changes_202105_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202105_06_pkey;


--
-- Name: account_changes_202106_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_01_created_idx;


--
-- Name: account_changes_202106_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_01_date_idx;


--
-- Name: account_changes_202106_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_01_pkey;


--
-- Name: account_changes_202106_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_02_created_idx;


--
-- Name: account_changes_202106_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_02_date_idx;


--
-- Name: account_changes_202106_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_02_pkey;


--
-- Name: account_changes_202106_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_03_created_idx;


--
-- Name: account_changes_202106_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_03_date_idx;


--
-- Name: account_changes_202106_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_03_pkey;


--
-- Name: account_changes_202106_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_04_created_idx;


--
-- Name: account_changes_202106_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_04_date_idx;


--
-- Name: account_changes_202106_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_04_pkey;


--
-- Name: account_changes_202106_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_05_created_idx;


--
-- Name: account_changes_202106_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_05_date_idx;


--
-- Name: account_changes_202106_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_05_pkey;


--
-- Name: account_changes_202106_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202106_06_created_idx;


--
-- Name: account_changes_202106_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202106_06_date_idx;


--
-- Name: account_changes_202106_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202106_06_pkey;


--
-- Name: account_changes_202107_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_01_created_idx;


--
-- Name: account_changes_202107_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_01_date_idx;


--
-- Name: account_changes_202107_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_01_pkey;


--
-- Name: account_changes_202107_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_02_created_idx;


--
-- Name: account_changes_202107_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_02_date_idx;


--
-- Name: account_changes_202107_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_02_pkey;


--
-- Name: account_changes_202107_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_03_created_idx;


--
-- Name: account_changes_202107_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_03_date_idx;


--
-- Name: account_changes_202107_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_03_pkey;


--
-- Name: account_changes_202107_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_04_created_idx;


--
-- Name: account_changes_202107_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_04_date_idx;


--
-- Name: account_changes_202107_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_04_pkey;


--
-- Name: account_changes_202107_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_05_created_idx;


--
-- Name: account_changes_202107_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_05_date_idx;


--
-- Name: account_changes_202107_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_05_pkey;


--
-- Name: account_changes_202107_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202107_06_created_idx;


--
-- Name: account_changes_202107_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202107_06_date_idx;


--
-- Name: account_changes_202107_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202107_06_pkey;


--
-- Name: account_changes_202108_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_01_created_idx;


--
-- Name: account_changes_202108_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_01_date_idx;


--
-- Name: account_changes_202108_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_01_pkey;


--
-- Name: account_changes_202108_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_02_created_idx;


--
-- Name: account_changes_202108_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_02_date_idx;


--
-- Name: account_changes_202108_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_02_pkey;


--
-- Name: account_changes_202108_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_03_created_idx;


--
-- Name: account_changes_202108_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_03_date_idx;


--
-- Name: account_changes_202108_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_03_pkey;


--
-- Name: account_changes_202108_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_04_created_idx;


--
-- Name: account_changes_202108_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_04_date_idx;


--
-- Name: account_changes_202108_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_04_pkey;


--
-- Name: account_changes_202108_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_05_created_idx;


--
-- Name: account_changes_202108_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_05_date_idx;


--
-- Name: account_changes_202108_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_05_pkey;


--
-- Name: account_changes_202108_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202108_06_created_idx;


--
-- Name: account_changes_202108_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202108_06_date_idx;


--
-- Name: account_changes_202108_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202108_06_pkey;


--
-- Name: account_changes_202109_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_01_created_idx;


--
-- Name: account_changes_202109_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_01_date_idx;


--
-- Name: account_changes_202109_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_01_pkey;


--
-- Name: account_changes_202109_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_02_created_idx;


--
-- Name: account_changes_202109_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_02_date_idx;


--
-- Name: account_changes_202109_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_02_pkey;


--
-- Name: account_changes_202109_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_03_created_idx;


--
-- Name: account_changes_202109_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_03_date_idx;


--
-- Name: account_changes_202109_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_03_pkey;


--
-- Name: account_changes_202109_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_04_created_idx;


--
-- Name: account_changes_202109_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_04_date_idx;


--
-- Name: account_changes_202109_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_04_pkey;


--
-- Name: account_changes_202109_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_05_created_idx;


--
-- Name: account_changes_202109_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_05_date_idx;


--
-- Name: account_changes_202109_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_05_pkey;


--
-- Name: account_changes_202109_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202109_06_created_idx;


--
-- Name: account_changes_202109_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202109_06_date_idx;


--
-- Name: account_changes_202109_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202109_06_pkey;


--
-- Name: account_changes_202110_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_01_created_idx;


--
-- Name: account_changes_202110_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_01_date_idx;


--
-- Name: account_changes_202110_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_01_pkey;


--
-- Name: account_changes_202110_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_02_created_idx;


--
-- Name: account_changes_202110_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_02_date_idx;


--
-- Name: account_changes_202110_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_02_pkey;


--
-- Name: account_changes_202110_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_03_created_idx;


--
-- Name: account_changes_202110_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_03_date_idx;


--
-- Name: account_changes_202110_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_03_pkey;


--
-- Name: account_changes_202110_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_04_created_idx;


--
-- Name: account_changes_202110_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_04_date_idx;


--
-- Name: account_changes_202110_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_04_pkey;


--
-- Name: account_changes_202110_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_05_created_idx;


--
-- Name: account_changes_202110_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_05_date_idx;


--
-- Name: account_changes_202110_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_05_pkey;


--
-- Name: account_changes_202110_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202110_06_created_idx;


--
-- Name: account_changes_202110_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202110_06_date_idx;


--
-- Name: account_changes_202110_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202110_06_pkey;


--
-- Name: account_changes_202111_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_01_created_idx;


--
-- Name: account_changes_202111_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_01_date_idx;


--
-- Name: account_changes_202111_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_01_pkey;


--
-- Name: account_changes_202111_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_02_created_idx;


--
-- Name: account_changes_202111_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_02_date_idx;


--
-- Name: account_changes_202111_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_02_pkey;


--
-- Name: account_changes_202111_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_03_created_idx;


--
-- Name: account_changes_202111_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_03_date_idx;


--
-- Name: account_changes_202111_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_03_pkey;


--
-- Name: account_changes_202111_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_04_created_idx;


--
-- Name: account_changes_202111_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_04_date_idx;


--
-- Name: account_changes_202111_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_04_pkey;


--
-- Name: account_changes_202111_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_05_created_idx;


--
-- Name: account_changes_202111_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_05_date_idx;


--
-- Name: account_changes_202111_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_05_pkey;


--
-- Name: account_changes_202111_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202111_06_created_idx;


--
-- Name: account_changes_202111_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202111_06_date_idx;


--
-- Name: account_changes_202111_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202111_06_pkey;


--
-- Name: account_changes_202112_01_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_01_created_idx;


--
-- Name: account_changes_202112_01_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_01_date_idx;


--
-- Name: account_changes_202112_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_01_pkey;


--
-- Name: account_changes_202112_02_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_02_created_idx;


--
-- Name: account_changes_202112_02_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_02_date_idx;


--
-- Name: account_changes_202112_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_02_pkey;


--
-- Name: account_changes_202112_03_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_03_created_idx;


--
-- Name: account_changes_202112_03_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_03_date_idx;


--
-- Name: account_changes_202112_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_03_pkey;


--
-- Name: account_changes_202112_04_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_04_created_idx;


--
-- Name: account_changes_202112_04_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_04_date_idx;


--
-- Name: account_changes_202112_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_04_pkey;


--
-- Name: account_changes_202112_05_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_05_created_idx;


--
-- Name: account_changes_202112_05_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_05_date_idx;


--
-- Name: account_changes_202112_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_05_pkey;


--
-- Name: account_changes_202112_06_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_created_idx ATTACH PARTITION public.account_changes_202112_06_created_idx;


--
-- Name: account_changes_202112_06_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_date_idx ATTACH PARTITION public.account_changes_202112_06_date_idx;


--
-- Name: account_changes_202112_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.account_changes_pkey ATTACH PARTITION public.account_changes_202112_06_pkey;


--
-- Name: admin_logs_202005_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202005_created_idx;


--
-- Name: admin_logs_202005_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202005_date_idx;


--
-- Name: admin_logs_202005_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202005_pkey;


--
-- Name: admin_logs_202006_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202006_created_idx;


--
-- Name: admin_logs_202006_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202006_date_idx;


--
-- Name: admin_logs_202006_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202006_pkey;


--
-- Name: admin_logs_202007_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202007_created_idx;


--
-- Name: admin_logs_202007_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202007_date_idx;


--
-- Name: admin_logs_202007_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202007_pkey;


--
-- Name: admin_logs_202008_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202008_created_idx;


--
-- Name: admin_logs_202008_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202008_date_idx;


--
-- Name: admin_logs_202008_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202008_pkey;


--
-- Name: admin_logs_202009_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202009_created_idx;


--
-- Name: admin_logs_202009_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202009_date_idx;


--
-- Name: admin_logs_202009_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202009_pkey;


--
-- Name: admin_logs_202010_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202010_created_idx;


--
-- Name: admin_logs_202010_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202010_date_idx;


--
-- Name: admin_logs_202010_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202010_pkey;


--
-- Name: admin_logs_202011_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202011_created_idx;


--
-- Name: admin_logs_202011_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202011_date_idx;


--
-- Name: admin_logs_202011_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202011_pkey;


--
-- Name: admin_logs_202012_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202012_created_idx;


--
-- Name: admin_logs_202012_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202012_date_idx;


--
-- Name: admin_logs_202012_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202012_pkey;


--
-- Name: admin_logs_202101_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202101_created_idx;


--
-- Name: admin_logs_202101_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202101_date_idx;


--
-- Name: admin_logs_202101_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202101_pkey;


--
-- Name: admin_logs_202102_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202102_created_idx;


--
-- Name: admin_logs_202102_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202102_date_idx;


--
-- Name: admin_logs_202102_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202102_pkey;


--
-- Name: admin_logs_202103_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202103_created_idx;


--
-- Name: admin_logs_202103_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202103_date_idx;


--
-- Name: admin_logs_202103_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202103_pkey;


--
-- Name: admin_logs_202104_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202104_created_idx;


--
-- Name: admin_logs_202104_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202104_date_idx;


--
-- Name: admin_logs_202104_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202104_pkey;


--
-- Name: admin_logs_202105_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202105_created_idx;


--
-- Name: admin_logs_202105_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202105_date_idx;


--
-- Name: admin_logs_202105_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202105_pkey;


--
-- Name: admin_logs_202106_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202106_created_idx;


--
-- Name: admin_logs_202106_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202106_date_idx;


--
-- Name: admin_logs_202106_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202106_pkey;


--
-- Name: admin_logs_202107_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202107_created_idx;


--
-- Name: admin_logs_202107_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202107_date_idx;


--
-- Name: admin_logs_202107_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202107_pkey;


--
-- Name: admin_logs_202108_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202108_created_idx;


--
-- Name: admin_logs_202108_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202108_date_idx;


--
-- Name: admin_logs_202108_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202108_pkey;


--
-- Name: admin_logs_202109_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202109_created_idx;


--
-- Name: admin_logs_202109_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202109_date_idx;


--
-- Name: admin_logs_202109_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202109_pkey;


--
-- Name: admin_logs_202110_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202110_created_idx;


--
-- Name: admin_logs_202110_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202110_date_idx;


--
-- Name: admin_logs_202110_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202110_pkey;


--
-- Name: admin_logs_202111_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202111_created_idx;


--
-- Name: admin_logs_202111_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202111_date_idx;


--
-- Name: admin_logs_202111_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202111_pkey;


--
-- Name: admin_logs_202112_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_created_idx ATTACH PARTITION public.admin_logs_202112_created_idx;


--
-- Name: admin_logs_202112_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_date_idx ATTACH PARTITION public.admin_logs_202112_date_idx;


--
-- Name: admin_logs_202112_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.admin_logs_pkey ATTACH PARTITION public.admin_logs_202112_pkey;


--
-- Name: recharges_202005_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202005_created_idx;


--
-- Name: recharges_202005_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202005_date_idx;


--
-- Name: recharges_202005_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202005_pkey;


--
-- Name: recharges_202006_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202006_created_idx;


--
-- Name: recharges_202006_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202006_date_idx;


--
-- Name: recharges_202006_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202006_pkey;


--
-- Name: recharges_202007_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202007_created_idx;


--
-- Name: recharges_202007_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202007_date_idx;


--
-- Name: recharges_202007_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202007_pkey;


--
-- Name: recharges_202008_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202008_created_idx;


--
-- Name: recharges_202008_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202008_date_idx;


--
-- Name: recharges_202008_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202008_pkey;


--
-- Name: recharges_202009_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202009_created_idx;


--
-- Name: recharges_202009_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202009_date_idx;


--
-- Name: recharges_202009_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202009_pkey;


--
-- Name: recharges_202010_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202010_created_idx;


--
-- Name: recharges_202010_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202010_date_idx;


--
-- Name: recharges_202010_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202010_pkey;


--
-- Name: recharges_202011_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202011_created_idx;


--
-- Name: recharges_202011_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202011_date_idx;


--
-- Name: recharges_202011_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202011_pkey;


--
-- Name: recharges_202012_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202012_created_idx;


--
-- Name: recharges_202012_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202012_date_idx;


--
-- Name: recharges_202012_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202012_pkey;


--
-- Name: recharges_202101_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202101_created_idx;


--
-- Name: recharges_202101_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202101_date_idx;


--
-- Name: recharges_202101_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202101_pkey;


--
-- Name: recharges_202102_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202102_created_idx;


--
-- Name: recharges_202102_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202102_date_idx;


--
-- Name: recharges_202102_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202102_pkey;


--
-- Name: recharges_202103_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202103_created_idx;


--
-- Name: recharges_202103_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202103_date_idx;


--
-- Name: recharges_202103_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202103_pkey;


--
-- Name: recharges_202104_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202104_created_idx;


--
-- Name: recharges_202104_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202104_date_idx;


--
-- Name: recharges_202104_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202104_pkey;


--
-- Name: recharges_202105_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202105_created_idx;


--
-- Name: recharges_202105_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202105_date_idx;


--
-- Name: recharges_202105_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202105_pkey;


--
-- Name: recharges_202106_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202106_created_idx;


--
-- Name: recharges_202106_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202106_date_idx;


--
-- Name: recharges_202106_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202106_pkey;


--
-- Name: recharges_202107_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202107_created_idx;


--
-- Name: recharges_202107_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202107_date_idx;


--
-- Name: recharges_202107_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202107_pkey;


--
-- Name: recharges_202108_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202108_created_idx;


--
-- Name: recharges_202108_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202108_date_idx;


--
-- Name: recharges_202108_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202108_pkey;


--
-- Name: recharges_202109_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202109_created_idx;


--
-- Name: recharges_202109_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202109_date_idx;


--
-- Name: recharges_202109_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202109_pkey;


--
-- Name: recharges_202110_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202110_created_idx;


--
-- Name: recharges_202110_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202110_date_idx;


--
-- Name: recharges_202110_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202110_pkey;


--
-- Name: recharges_202111_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202111_created_idx;


--
-- Name: recharges_202111_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202111_date_idx;


--
-- Name: recharges_202111_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202111_pkey;


--
-- Name: recharges_202112_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_created_idx ATTACH PARTITION public.recharges_202112_created_idx;


--
-- Name: recharges_202112_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_date_idx ATTACH PARTITION public.recharges_202112_date_idx;


--
-- Name: recharges_202112_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.recharges_pkey ATTACH PARTITION public.recharges_202112_pkey;


--
-- Name: user_accounts_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_01_pkey;


--
-- Name: user_accounts_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_02_pkey;


--
-- Name: user_accounts_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_03_pkey;


--
-- Name: user_accounts_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_04_pkey;


--
-- Name: user_accounts_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_05_pkey;


--
-- Name: user_accounts_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_06_pkey;


--
-- Name: user_accounts_07_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_07_pkey;


--
-- Name: user_accounts_08_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_08_pkey;


--
-- Name: user_accounts_09_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_09_pkey;


--
-- Name: user_accounts_10_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_10_pkey;


--
-- Name: user_accounts_11_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_11_pkey;


--
-- Name: user_accounts_12_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_12_pkey;


--
-- Name: user_accounts_13_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_13_pkey;


--
-- Name: user_accounts_14_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_14_pkey;


--
-- Name: user_accounts_15_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_15_pkey;


--
-- Name: user_accounts_16_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_accounts_pkey ATTACH PARTITION public.user_accounts_16_pkey;


--
-- Name: user_cards_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_01_pkey;


--
-- Name: user_cards_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_02_pkey;


--
-- Name: user_cards_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_03_pkey;


--
-- Name: user_cards_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_04_pkey;


--
-- Name: user_cards_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_05_pkey;


--
-- Name: user_cards_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_06_pkey;


--
-- Name: user_cards_07_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_07_pkey;


--
-- Name: user_cards_08_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_08_pkey;


--
-- Name: user_cards_09_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_09_pkey;


--
-- Name: user_cards_10_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_10_pkey;


--
-- Name: user_cards_11_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_11_pkey;


--
-- Name: user_cards_12_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_12_pkey;


--
-- Name: user_cards_13_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_13_pkey;


--
-- Name: user_cards_14_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_14_pkey;


--
-- Name: user_cards_15_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_15_pkey;


--
-- Name: user_cards_16_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_cards_pkey ATTACH PARTITION public.user_cards_16_pkey;


--
-- Name: user_details_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_01_pkey;


--
-- Name: user_details_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_02_pkey;


--
-- Name: user_details_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_03_pkey;


--
-- Name: user_details_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_04_pkey;


--
-- Name: user_details_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_05_pkey;


--
-- Name: user_details_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_06_pkey;


--
-- Name: user_details_07_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_07_pkey;


--
-- Name: user_details_08_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_08_pkey;


--
-- Name: user_details_09_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_09_pkey;


--
-- Name: user_details_10_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_10_pkey;


--
-- Name: user_details_11_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_11_pkey;


--
-- Name: user_details_12_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_12_pkey;


--
-- Name: user_details_13_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_13_pkey;


--
-- Name: user_details_14_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_14_pkey;


--
-- Name: user_details_15_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_15_pkey;


--
-- Name: user_details_16_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.user_details_pkey ATTACH PARTITION public.user_details_16_pkey;


--
-- Name: users_01_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_01_pkey;


--
-- Name: users_01_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_01_status_idx;


--
-- Name: users_02_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_02_pkey;


--
-- Name: users_02_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_02_status_idx;


--
-- Name: users_03_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_03_pkey;


--
-- Name: users_03_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_03_status_idx;


--
-- Name: users_04_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_04_pkey;


--
-- Name: users_04_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_04_status_idx;


--
-- Name: users_05_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_05_pkey;


--
-- Name: users_05_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_05_status_idx;


--
-- Name: users_06_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_06_pkey;


--
-- Name: users_06_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_06_status_idx;


--
-- Name: users_07_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_07_pkey;


--
-- Name: users_07_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_07_status_idx;


--
-- Name: users_08_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_08_pkey;


--
-- Name: users_08_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_08_status_idx;


--
-- Name: users_09_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_09_pkey;


--
-- Name: users_09_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_09_status_idx;


--
-- Name: users_10_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_10_pkey;


--
-- Name: users_10_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_10_status_idx;


--
-- Name: users_11_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_11_pkey;


--
-- Name: users_11_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_11_status_idx;


--
-- Name: users_12_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_12_pkey;


--
-- Name: users_12_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_12_status_idx;


--
-- Name: users_13_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_13_pkey;


--
-- Name: users_13_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_13_status_idx;


--
-- Name: users_14_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_14_pkey;


--
-- Name: users_14_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_14_status_idx;


--
-- Name: users_15_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_15_pkey;


--
-- Name: users_15_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_15_status_idx;


--
-- Name: users_16_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_pkey ATTACH PARTITION public.users_16_pkey;


--
-- Name: users_16_status_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.users_status_idx ATTACH PARTITION public.users_16_status_idx;


--
-- Name: withdraws_202005_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202005_created_idx;


--
-- Name: withdraws_202005_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202005_created_idx1;


--
-- Name: withdraws_202005_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202005_date_idx;


--
-- Name: withdraws_202005_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202005_date_idx1;


--
-- Name: withdraws_202005_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202005_pkey;


--
-- Name: withdraws_202006_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202006_created_idx;


--
-- Name: withdraws_202006_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202006_created_idx1;


--
-- Name: withdraws_202006_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202006_date_idx;


--
-- Name: withdraws_202006_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202006_date_idx1;


--
-- Name: withdraws_202006_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202006_pkey;


--
-- Name: withdraws_202007_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202007_created_idx;


--
-- Name: withdraws_202007_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202007_created_idx1;


--
-- Name: withdraws_202007_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202007_date_idx;


--
-- Name: withdraws_202007_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202007_date_idx1;


--
-- Name: withdraws_202007_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202007_pkey;


--
-- Name: withdraws_202008_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202008_created_idx;


--
-- Name: withdraws_202008_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202008_created_idx1;


--
-- Name: withdraws_202008_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202008_date_idx;


--
-- Name: withdraws_202008_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202008_date_idx1;


--
-- Name: withdraws_202008_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202008_pkey;


--
-- Name: withdraws_202009_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202009_created_idx;


--
-- Name: withdraws_202009_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202009_created_idx1;


--
-- Name: withdraws_202009_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202009_date_idx;


--
-- Name: withdraws_202009_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202009_date_idx1;


--
-- Name: withdraws_202009_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202009_pkey;


--
-- Name: withdraws_202010_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202010_created_idx;


--
-- Name: withdraws_202010_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202010_created_idx1;


--
-- Name: withdraws_202010_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202010_date_idx;


--
-- Name: withdraws_202010_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202010_date_idx1;


--
-- Name: withdraws_202010_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202010_pkey;


--
-- Name: withdraws_202011_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202011_created_idx;


--
-- Name: withdraws_202011_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202011_created_idx1;


--
-- Name: withdraws_202011_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202011_date_idx;


--
-- Name: withdraws_202011_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202011_date_idx1;


--
-- Name: withdraws_202011_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202011_pkey;


--
-- Name: withdraws_202012_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202012_created_idx;


--
-- Name: withdraws_202012_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202012_created_idx1;


--
-- Name: withdraws_202012_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202012_date_idx;


--
-- Name: withdraws_202012_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202012_date_idx1;


--
-- Name: withdraws_202012_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202012_pkey;


--
-- Name: withdraws_202101_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202101_created_idx;


--
-- Name: withdraws_202101_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202101_created_idx1;


--
-- Name: withdraws_202101_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202101_date_idx;


--
-- Name: withdraws_202101_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202101_date_idx1;


--
-- Name: withdraws_202101_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202101_pkey;


--
-- Name: withdraws_202102_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202102_created_idx;


--
-- Name: withdraws_202102_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202102_created_idx1;


--
-- Name: withdraws_202102_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202102_date_idx;


--
-- Name: withdraws_202102_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202102_date_idx1;


--
-- Name: withdraws_202102_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202102_pkey;


--
-- Name: withdraws_202103_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202103_created_idx;


--
-- Name: withdraws_202103_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202103_created_idx1;


--
-- Name: withdraws_202103_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202103_date_idx;


--
-- Name: withdraws_202103_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202103_date_idx1;


--
-- Name: withdraws_202103_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202103_pkey;


--
-- Name: withdraws_202104_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202104_created_idx;


--
-- Name: withdraws_202104_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202104_created_idx1;


--
-- Name: withdraws_202104_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202104_date_idx;


--
-- Name: withdraws_202104_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202104_date_idx1;


--
-- Name: withdraws_202104_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202104_pkey;


--
-- Name: withdraws_202105_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202105_created_idx;


--
-- Name: withdraws_202105_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202105_created_idx1;


--
-- Name: withdraws_202105_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202105_date_idx;


--
-- Name: withdraws_202105_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202105_date_idx1;


--
-- Name: withdraws_202105_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202105_pkey;


--
-- Name: withdraws_202106_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202106_created_idx;


--
-- Name: withdraws_202106_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202106_created_idx1;


--
-- Name: withdraws_202106_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202106_date_idx;


--
-- Name: withdraws_202106_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202106_date_idx1;


--
-- Name: withdraws_202106_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202106_pkey;


--
-- Name: withdraws_202107_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202107_created_idx;


--
-- Name: withdraws_202107_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202107_created_idx1;


--
-- Name: withdraws_202107_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202107_date_idx;


--
-- Name: withdraws_202107_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202107_date_idx1;


--
-- Name: withdraws_202107_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202107_pkey;


--
-- Name: withdraws_202108_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202108_created_idx;


--
-- Name: withdraws_202108_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202108_created_idx1;


--
-- Name: withdraws_202108_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202108_date_idx;


--
-- Name: withdraws_202108_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202108_date_idx1;


--
-- Name: withdraws_202108_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202108_pkey;


--
-- Name: withdraws_202109_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202109_created_idx;


--
-- Name: withdraws_202109_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202109_created_idx1;


--
-- Name: withdraws_202109_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202109_date_idx;


--
-- Name: withdraws_202109_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202109_date_idx1;


--
-- Name: withdraws_202109_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202109_pkey;


--
-- Name: withdraws_202110_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202110_created_idx;


--
-- Name: withdraws_202110_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202110_created_idx1;


--
-- Name: withdraws_202110_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202110_date_idx;


--
-- Name: withdraws_202110_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202110_date_idx1;


--
-- Name: withdraws_202110_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202110_pkey;


--
-- Name: withdraws_202111_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202111_created_idx;


--
-- Name: withdraws_202111_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202111_created_idx1;


--
-- Name: withdraws_202111_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202111_date_idx;


--
-- Name: withdraws_202111_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202111_date_idx1;


--
-- Name: withdraws_202111_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202111_pkey;


--
-- Name: withdraws_202112_created_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx ATTACH PARTITION public.withdraws_202112_created_idx;


--
-- Name: withdraws_202112_created_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_created_idx1 ATTACH PARTITION public.withdraws_202112_created_idx1;


--
-- Name: withdraws_202112_date_idx; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx ATTACH PARTITION public.withdraws_202112_date_idx;


--
-- Name: withdraws_202112_date_idx1; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_date_idx1 ATTACH PARTITION public.withdraws_202112_date_idx1;


--
-- Name: withdraws_202112_pkey; Type: INDEX ATTACH; Schema: public; Owner: -
--

ALTER INDEX public.withdraws_pkey ATTACH PARTITION public.withdraws_202112_pkey;


--
-- Name: recharges recharge_update; Type: TRIGGER; Schema: public; Owner: postgres
--

CREATE TRIGGER recharge_update AFTER UPDATE ON public.recharges FOR EACH ROW EXECUTE FUNCTION public.recharge_update_trigger();


--
-- Name: users user_init; Type: TRIGGER; Schema: public; Owner: postgres
--

CREATE TRIGGER user_init AFTER INSERT ON public.users FOR EACH ROW EXECUTE FUNCTION public.user_init_profile();


--
-- Name: withdraws withdraw_update; Type: TRIGGER; Schema: public; Owner: postgres
--

CREATE TRIGGER withdraw_update AFTER UPDATE ON public.withdraws FOR EACH ROW EXECUTE FUNCTION public.withdraw_update_trigger();


--
-- Name: account_changes account_changes_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.account_changes
    ADD CONSTRAINT account_changes_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- Name: admin_logs admin_logs_admin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.admin_logs
    ADD CONSTRAINT admin_logs_admin_id_fkey FOREIGN KEY (admin_id) REFERENCES public.admins(id);


--
-- Name: admins admins_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.admins
    ADD CONSTRAINT admins_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.admin_roles(id);


--
-- Name: recharges recharges_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.recharges
    ADD CONSTRAINT recharges_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- Name: user_accounts user_accounts_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.user_accounts
    ADD CONSTRAINT user_accounts_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- Name: user_cards user_cards_bank_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.user_cards
    ADD CONSTRAINT user_cards_bank_id_fkey FOREIGN KEY (bank_id) REFERENCES public.banks(id);


--
-- Name: user_cards user_cards_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.user_cards
    ADD CONSTRAINT user_cards_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- Name: user_details user_details_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.user_details
    ADD CONSTRAINT user_details_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- Name: withdraws withdraws_audit_admin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.withdraws
    ADD CONSTRAINT withdraws_audit_admin_id_fkey FOREIGN KEY (audit_admin_id) REFERENCES public.admins(id);


--
-- Name: withdraws withdraws_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE public.withdraws
    ADD CONSTRAINT withdraws_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);


--
-- PostgreSQL database dump complete
--

